Class FeatureValue.Builder

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

public static final class FeatureValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureValue.Builder> implements FeatureValueOrBuilder
 Value for a feature.
 
Protobuf type google.cloud.aiplatform.v1.FeatureValue
  • 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<FeatureValue.Builder>
    • clear

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

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

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

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

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

      public FeatureValue.Builder mergeFrom(FeatureValue other)
    • isInitialized

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

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

      public FeatureValue.ValueCase getValueCase()
      Specified by:
      getValueCase in interface FeatureValueOrBuilder
    • clearValue

      public FeatureValue.Builder clearValue()
    • hasBoolValue

      public boolean hasBoolValue()
       Bool type feature value.
       
      bool bool_value = 1;
      Specified by:
      hasBoolValue in interface FeatureValueOrBuilder
      Returns:
      Whether the boolValue field is set.
    • getBoolValue

      public boolean getBoolValue()
       Bool type feature value.
       
      bool bool_value = 1;
      Specified by:
      getBoolValue in interface FeatureValueOrBuilder
      Returns:
      The boolValue.
    • setBoolValue

      public FeatureValue.Builder setBoolValue(boolean value)
       Bool type feature value.
       
      bool bool_value = 1;
      Parameters:
      value - The boolValue to set.
      Returns:
      This builder for chaining.
    • clearBoolValue

      public FeatureValue.Builder clearBoolValue()
       Bool type feature value.
       
      bool bool_value = 1;
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
       Double type feature value.
       
      double double_value = 2;
      Specified by:
      hasDoubleValue in interface FeatureValueOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
       Double type feature value.
       
      double double_value = 2;
      Specified by:
      getDoubleValue in interface FeatureValueOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public FeatureValue.Builder setDoubleValue(double value)
       Double type feature value.
       
      double double_value = 2;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public FeatureValue.Builder clearDoubleValue()
       Double type feature value.
       
      double double_value = 2;
      Returns:
      This builder for chaining.
    • hasInt64Value

      public boolean hasInt64Value()
       Int64 feature value.
       
      int64 int64_value = 5;
      Specified by:
      hasInt64Value in interface FeatureValueOrBuilder
      Returns:
      Whether the int64Value field is set.
    • getInt64Value

      public long getInt64Value()
       Int64 feature value.
       
      int64 int64_value = 5;
      Specified by:
      getInt64Value in interface FeatureValueOrBuilder
      Returns:
      The int64Value.
    • setInt64Value

      public FeatureValue.Builder setInt64Value(long value)
       Int64 feature value.
       
      int64 int64_value = 5;
      Parameters:
      value - The int64Value to set.
      Returns:
      This builder for chaining.
    • clearInt64Value

      public FeatureValue.Builder clearInt64Value()
       Int64 feature value.
       
      int64 int64_value = 5;
      Returns:
      This builder for chaining.
    • hasStringValue

      public boolean hasStringValue()
       String feature value.
       
      string string_value = 6;
      Specified by:
      hasStringValue in interface FeatureValueOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       String feature value.
       
      string string_value = 6;
      Specified by:
      getStringValue in interface FeatureValueOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       String feature value.
       
      string string_value = 6;
      Specified by:
      getStringValueBytes in interface FeatureValueOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public FeatureValue.Builder setStringValue(String value)
       String feature value.
       
      string string_value = 6;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public FeatureValue.Builder clearStringValue()
       String feature value.
       
      string string_value = 6;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public FeatureValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
       String feature value.
       
      string string_value = 6;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasBoolArrayValue

      public boolean hasBoolArrayValue()
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
      Specified by:
      hasBoolArrayValue in interface FeatureValueOrBuilder
      Returns:
      Whether the boolArrayValue field is set.
    • getBoolArrayValue

      public BoolArray getBoolArrayValue()
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
      Specified by:
      getBoolArrayValue in interface FeatureValueOrBuilder
      Returns:
      The boolArrayValue.
    • setBoolArrayValue

      public FeatureValue.Builder setBoolArrayValue(BoolArray value)
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
    • setBoolArrayValue

      public FeatureValue.Builder setBoolArrayValue(BoolArray.Builder builderForValue)
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
    • mergeBoolArrayValue

      public FeatureValue.Builder mergeBoolArrayValue(BoolArray value)
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
    • clearBoolArrayValue

      public FeatureValue.Builder clearBoolArrayValue()
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
    • getBoolArrayValueBuilder

      public BoolArray.Builder getBoolArrayValueBuilder()
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
    • getBoolArrayValueOrBuilder

      public BoolArrayOrBuilder getBoolArrayValueOrBuilder()
       A list of bool type feature value.
       
      .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;
      Specified by:
      getBoolArrayValueOrBuilder in interface FeatureValueOrBuilder
    • hasDoubleArrayValue

      public boolean hasDoubleArrayValue()
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
      Specified by:
      hasDoubleArrayValue in interface FeatureValueOrBuilder
      Returns:
      Whether the doubleArrayValue field is set.
    • getDoubleArrayValue

      public DoubleArray getDoubleArrayValue()
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
      Specified by:
      getDoubleArrayValue in interface FeatureValueOrBuilder
      Returns:
      The doubleArrayValue.
    • setDoubleArrayValue

      public FeatureValue.Builder setDoubleArrayValue(DoubleArray value)
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
    • setDoubleArrayValue

      public FeatureValue.Builder setDoubleArrayValue(DoubleArray.Builder builderForValue)
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
    • mergeDoubleArrayValue

      public FeatureValue.Builder mergeDoubleArrayValue(DoubleArray value)
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
    • clearDoubleArrayValue

      public FeatureValue.Builder clearDoubleArrayValue()
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
    • getDoubleArrayValueBuilder

      public DoubleArray.Builder getDoubleArrayValueBuilder()
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
    • getDoubleArrayValueOrBuilder

      public DoubleArrayOrBuilder getDoubleArrayValueOrBuilder()
       A list of double type feature value.
       
      .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;
      Specified by:
      getDoubleArrayValueOrBuilder in interface FeatureValueOrBuilder
    • hasInt64ArrayValue

      public boolean hasInt64ArrayValue()
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
      Specified by:
      hasInt64ArrayValue in interface FeatureValueOrBuilder
      Returns:
      Whether the int64ArrayValue field is set.
    • getInt64ArrayValue

      public Int64Array getInt64ArrayValue()
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
      Specified by:
      getInt64ArrayValue in interface FeatureValueOrBuilder
      Returns:
      The int64ArrayValue.
    • setInt64ArrayValue

      public FeatureValue.Builder setInt64ArrayValue(Int64Array value)
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
    • setInt64ArrayValue

      public FeatureValue.Builder setInt64ArrayValue(Int64Array.Builder builderForValue)
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
    • mergeInt64ArrayValue

      public FeatureValue.Builder mergeInt64ArrayValue(Int64Array value)
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
    • clearInt64ArrayValue

      public FeatureValue.Builder clearInt64ArrayValue()
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
    • getInt64ArrayValueBuilder

      public Int64Array.Builder getInt64ArrayValueBuilder()
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
    • getInt64ArrayValueOrBuilder

      public Int64ArrayOrBuilder getInt64ArrayValueOrBuilder()
       A list of int64 type feature value.
       
      .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;
      Specified by:
      getInt64ArrayValueOrBuilder in interface FeatureValueOrBuilder
    • hasStringArrayValue

      public boolean hasStringArrayValue()
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
      Specified by:
      hasStringArrayValue in interface FeatureValueOrBuilder
      Returns:
      Whether the stringArrayValue field is set.
    • getStringArrayValue

      public StringArray getStringArrayValue()
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
      Specified by:
      getStringArrayValue in interface FeatureValueOrBuilder
      Returns:
      The stringArrayValue.
    • setStringArrayValue

      public FeatureValue.Builder setStringArrayValue(StringArray value)
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
    • setStringArrayValue

      public FeatureValue.Builder setStringArrayValue(StringArray.Builder builderForValue)
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
    • mergeStringArrayValue

      public FeatureValue.Builder mergeStringArrayValue(StringArray value)
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
    • clearStringArrayValue

      public FeatureValue.Builder clearStringArrayValue()
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
    • getStringArrayValueBuilder

      public StringArray.Builder getStringArrayValueBuilder()
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
    • getStringArrayValueOrBuilder

      public StringArrayOrBuilder getStringArrayValueOrBuilder()
       A list of string type feature value.
       
      .google.cloud.aiplatform.v1.StringArray string_array_value = 12;
      Specified by:
      getStringArrayValueOrBuilder in interface FeatureValueOrBuilder
    • hasBytesValue

      public boolean hasBytesValue()
       Bytes feature value.
       
      bytes bytes_value = 13;
      Specified by:
      hasBytesValue in interface FeatureValueOrBuilder
      Returns:
      Whether the bytesValue field is set.
    • getBytesValue

      public com.google.protobuf.ByteString getBytesValue()
       Bytes feature value.
       
      bytes bytes_value = 13;
      Specified by:
      getBytesValue in interface FeatureValueOrBuilder
      Returns:
      The bytesValue.
    • setBytesValue

      public FeatureValue.Builder setBytesValue(com.google.protobuf.ByteString value)
       Bytes feature value.
       
      bytes bytes_value = 13;
      Parameters:
      value - The bytesValue to set.
      Returns:
      This builder for chaining.
    • clearBytesValue

      public FeatureValue.Builder clearBytesValue()
       Bytes feature value.
       
      bytes bytes_value = 13;
      Returns:
      This builder for chaining.
    • hasStructValue

      public boolean hasStructValue()
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
      Specified by:
      hasStructValue in interface FeatureValueOrBuilder
      Returns:
      Whether the structValue field is set.
    • getStructValue

      public StructValue getStructValue()
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
      Specified by:
      getStructValue in interface FeatureValueOrBuilder
      Returns:
      The structValue.
    • setStructValue

      public FeatureValue.Builder setStructValue(StructValue value)
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
    • setStructValue

      public FeatureValue.Builder setStructValue(StructValue.Builder builderForValue)
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
    • mergeStructValue

      public FeatureValue.Builder mergeStructValue(StructValue value)
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
    • clearStructValue

      public FeatureValue.Builder clearStructValue()
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
    • getStructValueBuilder

      public StructValue.Builder getStructValueBuilder()
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
    • getStructValueOrBuilder

      public StructValueOrBuilder getStructValueOrBuilder()
       A struct type feature value.
       
      .google.cloud.aiplatform.v1.StructValue struct_value = 15;
      Specified by:
      getStructValueOrBuilder in interface FeatureValueOrBuilder
    • hasMetadata

      public boolean hasMetadata()
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
      Specified by:
      hasMetadata in interface FeatureValueOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public FeatureValue.Metadata getMetadata()
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
      Specified by:
      getMetadata in interface FeatureValueOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public FeatureValue.Builder setMetadata(FeatureValue.Metadata value)
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
    • setMetadata

      public FeatureValue.Builder setMetadata(FeatureValue.Metadata.Builder builderForValue)
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
    • mergeMetadata

      public FeatureValue.Builder mergeMetadata(FeatureValue.Metadata value)
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
    • clearMetadata

      public FeatureValue.Builder clearMetadata()
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
    • getMetadataBuilder

      public FeatureValue.Metadata.Builder getMetadataBuilder()
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
    • getMetadataOrBuilder

      public FeatureValue.MetadataOrBuilder getMetadataOrBuilder()
       Metadata of feature value.
       
      .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
      Specified by:
      getMetadataOrBuilder in interface FeatureValueOrBuilder