Class StructFieldValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder>
com.google.cloud.aiplatform.v1.StructFieldValue.Builder
All Implemented Interfaces:
StructFieldValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StructFieldValue

public static final class StructFieldValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder> implements StructFieldValueOrBuilder
 One field of a Struct (or object) type feature value.
 
Protobuf type google.cloud.aiplatform.v1.StructFieldValue
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder>
    • clear

      public StructFieldValue.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder>
    • getDefaultInstanceForType

      public StructFieldValue getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StructFieldValue build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StructFieldValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StructFieldValue.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructFieldValue.Builder>
    • mergeFrom

      public StructFieldValue.Builder mergeFrom(StructFieldValue other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StructFieldValue.Builder>
    • mergeFrom

      public StructFieldValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructFieldValue.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Name of the field in the struct feature.
       
      string name = 1;
      Specified by:
      getName in interface StructFieldValueOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the field in the struct feature.
       
      string name = 1;
      Specified by:
      getNameBytes in interface StructFieldValueOrBuilder
      Returns:
      The bytes for name.
    • setName

      public StructFieldValue.Builder setName(String value)
       Name of the field in the struct feature.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public StructFieldValue.Builder clearName()
       Name of the field in the struct feature.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public StructFieldValue.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the field in the struct feature.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
      Specified by:
      hasValue in interface StructFieldValueOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public FeatureValue getValue()
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
      Specified by:
      getValue in interface StructFieldValueOrBuilder
      Returns:
      The value.
    • setValue

      public StructFieldValue.Builder setValue(FeatureValue value)
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
    • setValue

      public StructFieldValue.Builder setValue(FeatureValue.Builder builderForValue)
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
    • mergeValue

      public StructFieldValue.Builder mergeValue(FeatureValue value)
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
    • clearValue

      public StructFieldValue.Builder clearValue()
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
    • getValueBuilder

      public FeatureValue.Builder getValueBuilder()
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
    • getValueOrBuilder

      public FeatureValueOrBuilder getValueOrBuilder()
       The value for this field.
       
      .google.cloud.aiplatform.v1.FeatureValue value = 2;
      Specified by:
      getValueOrBuilder in interface StructFieldValueOrBuilder