Class MetadataValue.Builder

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

public static final class MetadataValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataValue.Builder> implements MetadataValueOrBuilder
 Value of Metadata, including all types available in data schema.
 
Protobuf type google.cloud.aiplatform.v1beta1.MetadataValue
  • 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<MetadataValue.Builder>
    • clear

      public MetadataValue.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<MetadataValue.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<MetadataValue.Builder>
    • getDefaultInstanceForType

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

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

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

      public MetadataValue.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<MetadataValue.Builder>
    • mergeFrom

      public MetadataValue.Builder mergeFrom(MetadataValue other)
    • isInitialized

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

      public MetadataValue.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<MetadataValue.Builder>
      Throws:
      IOException
    • getValueCase

      public MetadataValue.ValueCase getValueCase()
      Specified by:
      getValueCase in interface MetadataValueOrBuilder
    • clearValue

      public MetadataValue.Builder clearValue()
    • hasIntValue

      public boolean hasIntValue()
       Value of int type metadata.
       
      int64 int_value = 1;
      Specified by:
      hasIntValue in interface MetadataValueOrBuilder
      Returns:
      Whether the intValue field is set.
    • getIntValue

      public long getIntValue()
       Value of int type metadata.
       
      int64 int_value = 1;
      Specified by:
      getIntValue in interface MetadataValueOrBuilder
      Returns:
      The intValue.
    • setIntValue

      public MetadataValue.Builder setIntValue(long value)
       Value of int type metadata.
       
      int64 int_value = 1;
      Parameters:
      value - The intValue to set.
      Returns:
      This builder for chaining.
    • clearIntValue

      public MetadataValue.Builder clearIntValue()
       Value of int type metadata.
       
      int64 int_value = 1;
      Returns:
      This builder for chaining.
    • hasFloatValue

      public boolean hasFloatValue()
       Value of float type metadata.
       
      float float_value = 2;
      Specified by:
      hasFloatValue in interface MetadataValueOrBuilder
      Returns:
      Whether the floatValue field is set.
    • getFloatValue

      public float getFloatValue()
       Value of float type metadata.
       
      float float_value = 2;
      Specified by:
      getFloatValue in interface MetadataValueOrBuilder
      Returns:
      The floatValue.
    • setFloatValue

      public MetadataValue.Builder setFloatValue(float value)
       Value of float type metadata.
       
      float float_value = 2;
      Parameters:
      value - The floatValue to set.
      Returns:
      This builder for chaining.
    • clearFloatValue

      public MetadataValue.Builder clearFloatValue()
       Value of float type metadata.
       
      float float_value = 2;
      Returns:
      This builder for chaining.
    • hasStrValue

      public boolean hasStrValue()
       Value of string type metadata.
       
      string str_value = 3;
      Specified by:
      hasStrValue in interface MetadataValueOrBuilder
      Returns:
      Whether the strValue field is set.
    • getStrValue

      public String getStrValue()
       Value of string type metadata.
       
      string str_value = 3;
      Specified by:
      getStrValue in interface MetadataValueOrBuilder
      Returns:
      The strValue.
    • getStrValueBytes

      public com.google.protobuf.ByteString getStrValueBytes()
       Value of string type metadata.
       
      string str_value = 3;
      Specified by:
      getStrValueBytes in interface MetadataValueOrBuilder
      Returns:
      The bytes for strValue.
    • setStrValue

      public MetadataValue.Builder setStrValue(String value)
       Value of string type metadata.
       
      string str_value = 3;
      Parameters:
      value - The strValue to set.
      Returns:
      This builder for chaining.
    • clearStrValue

      public MetadataValue.Builder clearStrValue()
       Value of string type metadata.
       
      string str_value = 3;
      Returns:
      This builder for chaining.
    • setStrValueBytes

      public MetadataValue.Builder setStrValueBytes(com.google.protobuf.ByteString value)
       Value of string type metadata.
       
      string str_value = 3;
      Parameters:
      value - The bytes for strValue to set.
      Returns:
      This builder for chaining.
    • hasDatetimeValue

      public boolean hasDatetimeValue()
       Value of date time type metadata.
       
      string datetime_value = 4;
      Specified by:
      hasDatetimeValue in interface MetadataValueOrBuilder
      Returns:
      Whether the datetimeValue field is set.
    • getDatetimeValue

      public String getDatetimeValue()
       Value of date time type metadata.
       
      string datetime_value = 4;
      Specified by:
      getDatetimeValue in interface MetadataValueOrBuilder
      Returns:
      The datetimeValue.
    • getDatetimeValueBytes

      public com.google.protobuf.ByteString getDatetimeValueBytes()
       Value of date time type metadata.
       
      string datetime_value = 4;
      Specified by:
      getDatetimeValueBytes in interface MetadataValueOrBuilder
      Returns:
      The bytes for datetimeValue.
    • setDatetimeValue

      public MetadataValue.Builder setDatetimeValue(String value)
       Value of date time type metadata.
       
      string datetime_value = 4;
      Parameters:
      value - The datetimeValue to set.
      Returns:
      This builder for chaining.
    • clearDatetimeValue

      public MetadataValue.Builder clearDatetimeValue()
       Value of date time type metadata.
       
      string datetime_value = 4;
      Returns:
      This builder for chaining.
    • setDatetimeValueBytes

      public MetadataValue.Builder setDatetimeValueBytes(com.google.protobuf.ByteString value)
       Value of date time type metadata.
       
      string datetime_value = 4;
      Parameters:
      value - The bytes for datetimeValue to set.
      Returns:
      This builder for chaining.
    • hasBoolValue

      public boolean hasBoolValue()
       Value of boolean type metadata.
       
      bool bool_value = 5;
      Specified by:
      hasBoolValue in interface MetadataValueOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
       Value of boolean type metadata.
       
      bool bool_value = 5;
      Specified by:
      getBoolValue in interface MetadataValueOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public MetadataValue.Builder setBoolValue(boolean value)
       Value of boolean type metadata.
       
      bool bool_value = 5;
      Parameters:
      value - The boolValue to set.
      Returns:
      This builder for chaining.
    • clearBoolValue

      public MetadataValue.Builder clearBoolValue()
       Value of boolean type metadata.
       
      bool bool_value = 5;
      Returns:
      This builder for chaining.
    • hasListValue

      public boolean hasListValue()
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
      Specified by:
      hasListValue in interface MetadataValueOrBuilder
      Returns:
      Whether the listValue field is set.
    • getListValue

      public MetadataList getListValue()
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
      Specified by:
      getListValue in interface MetadataValueOrBuilder
      Returns:
      The listValue.
    • setListValue

      public MetadataValue.Builder setListValue(MetadataList value)
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
    • setListValue

      public MetadataValue.Builder setListValue(MetadataList.Builder builderForValue)
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
    • mergeListValue

      public MetadataValue.Builder mergeListValue(MetadataList value)
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
    • clearListValue

      public MetadataValue.Builder clearListValue()
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
    • getListValueBuilder

      public MetadataList.Builder getListValueBuilder()
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
    • getListValueOrBuilder

      public MetadataListOrBuilder getListValueOrBuilder()
       Value of list type metadata.
       
      .google.cloud.aiplatform.v1beta1.MetadataList list_value = 6;
      Specified by:
      getListValueOrBuilder in interface MetadataValueOrBuilder