Class 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.GeneratedMessageV3.Builder<FeatureValue.Builder>
    implements FeatureValueOrBuilder
     Value for a feature.
     
    Protobuf type google.cloud.aiplatform.v1beta1.FeatureValue
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public FeatureValue.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • setField

        public FeatureValue.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • clearField

        public FeatureValue.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • clearOneof

        public FeatureValue.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • setRepeatedField

        public FeatureValue.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • addRepeatedField

        public FeatureValue.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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.v1beta1.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.v1beta1.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.v1beta1.BoolArray bool_array_value = 7;
      • setBoolArrayValue

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

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

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

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

        public boolean hasDoubleArrayValue()
         A list of double type feature value.
         
        .google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.DoubleArray double_array_value = 8;
      • setDoubleArrayValue

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

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

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

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

        public boolean hasInt64ArrayValue()
         A list of int64 type feature value.
         
        .google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.Int64Array int64_array_value = 11;
      • setInt64ArrayValue

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

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

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

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

        public boolean hasStringArrayValue()
         A list of string type feature value.
         
        .google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.StringArray string_array_value = 12;
      • setStringArrayValue

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

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

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

        public StringArray.Builder getStringArrayValueBuilder()
         A list of string type feature value.
         
        .google.cloud.aiplatform.v1beta1.StringArray string_array_value = 12;
      • 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.
      • hasMetadata

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

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

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

        public final FeatureValue.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>
      • mergeUnknownFields

        public final FeatureValue.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureValue.Builder>