Class FeatureValue

  • All Implemented Interfaces:
    FeatureValueOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class FeatureValue
    extends com.google.protobuf.GeneratedMessageV3
    implements FeatureValueOrBuilder
     Value for a feature.
     
    Protobuf type google.cloud.aiplatform.v1beta1.FeatureValue
    See Also:
    Serialized Form
    • Field Detail

      • BOOL_VALUE_FIELD_NUMBER

        public static final int BOOL_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOUBLE_VALUE_FIELD_NUMBER

        public static final int DOUBLE_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INT64_VALUE_FIELD_NUMBER

        public static final int INT64_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STRING_VALUE_FIELD_NUMBER

        public static final int STRING_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BOOL_ARRAY_VALUE_FIELD_NUMBER

        public static final int BOOL_ARRAY_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOUBLE_ARRAY_VALUE_FIELD_NUMBER

        public static final int DOUBLE_ARRAY_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INT64_ARRAY_VALUE_FIELD_NUMBER

        public static final int INT64_ARRAY_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STRING_ARRAY_VALUE_FIELD_NUMBER

        public static final int STRING_ARRAY_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BYTES_VALUE_FIELD_NUMBER

        public static final int BYTES_VALUE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static FeatureValue parseFrom​(ByteBuffer data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(ByteBuffer data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(com.google.protobuf.ByteString data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(com.google.protobuf.ByteString data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(byte[] data)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(byte[] data,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FeatureValue parseFrom​(com.google.protobuf.CodedInputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

        protected FeatureValue.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static FeatureValue getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<FeatureValue> parser()
      • getParserForType

        public com.google.protobuf.Parser<FeatureValue> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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