Class FeatureValue

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.FeatureValue
All Implemented Interfaces:
FeatureValueOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FeatureValue extends com.google.protobuf.GeneratedMessage implements FeatureValueOrBuilder
 Value for a feature.
 
Protobuf type google.cloud.aiplatform.v1.FeatureValue
See Also:
  • Field Details

    • BOOL_VALUE_FIELD_NUMBER

      public static final int BOOL_VALUE_FIELD_NUMBER
      See Also:
    • DOUBLE_VALUE_FIELD_NUMBER

      public static final int DOUBLE_VALUE_FIELD_NUMBER
      See Also:
    • INT64_VALUE_FIELD_NUMBER

      public static final int INT64_VALUE_FIELD_NUMBER
      See Also:
    • STRING_VALUE_FIELD_NUMBER

      public static final int STRING_VALUE_FIELD_NUMBER
      See Also:
    • BOOL_ARRAY_VALUE_FIELD_NUMBER

      public static final int BOOL_ARRAY_VALUE_FIELD_NUMBER
      See Also:
    • DOUBLE_ARRAY_VALUE_FIELD_NUMBER

      public static final int DOUBLE_ARRAY_VALUE_FIELD_NUMBER
      See Also:
    • INT64_ARRAY_VALUE_FIELD_NUMBER

      public static final int INT64_ARRAY_VALUE_FIELD_NUMBER
      See Also:
    • STRING_ARRAY_VALUE_FIELD_NUMBER

      public static final int STRING_ARRAY_VALUE_FIELD_NUMBER
      See Also:
    • BYTES_VALUE_FIELD_NUMBER

      public static final int BYTES_VALUE_FIELD_NUMBER
      See Also:
    • STRUCT_VALUE_FIELD_NUMBER

      public static final int STRUCT_VALUE_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • 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
    • getValueCase

      public FeatureValue.ValueCase getValueCase()
      Specified by:
      getValueCase in interface FeatureValueOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • getMetadataOrBuilder

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeatureValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeatureValue parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FeatureValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FeatureValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static FeatureValue.Builder newBuilder()
    • newBuilder

      public static FeatureValue.Builder newBuilder(FeatureValue prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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