Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()A list of bool type feature value.Bool type feature value.Bytes feature value.A list of double type feature value.Double type feature value.A list of int64 type feature value.Int64 feature value.Metadata of feature value.A list of string type feature value.String feature value.A struct type feature value.A list of bool type feature value.A list of bool type feature value.A list of bool type feature value.booleanBool type feature value.com.google.protobuf.ByteStringBytes feature value.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA list of double type feature value.A list of double type feature value.A list of double type feature value.doubleDouble type feature value.A list of int64 type feature value.A list of int64 type feature value.A list of int64 type feature value.longInt64 feature value.Metadata of feature value.Metadata of feature value.Metadata of feature value.A list of string type feature value.A list of string type feature value.A list of string type feature value.String feature value.com.google.protobuf.ByteStringString feature value.A struct type feature value.A struct type feature value.A struct type feature value.booleanA list of bool type feature value.booleanBool type feature value.booleanBytes feature value.booleanA list of double type feature value.booleanDouble type feature value.booleanA list of int64 type feature value.booleanInt64 feature value.booleanMetadata of feature value.booleanA list of string type feature value.booleanString feature value.booleanA struct type feature value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBoolArrayValue(BoolArray value) A list of bool type feature value.mergeDoubleArrayValue(DoubleArray value) A list of double type feature value.mergeFrom(FeatureValue other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInt64ArrayValue(Int64Array value) A list of int64 type feature value.Metadata of feature value.mergeStringArrayValue(StringArray value) A list of string type feature value.mergeStructValue(StructValue value) A struct type feature value.setBoolArrayValue(BoolArray value) A list of bool type feature value.setBoolArrayValue(BoolArray.Builder builderForValue) A list of bool type feature value.setBoolValue(boolean value) Bool type feature value.setBytesValue(com.google.protobuf.ByteString value) Bytes feature value.setDoubleArrayValue(DoubleArray value) A list of double type feature value.setDoubleArrayValue(DoubleArray.Builder builderForValue) A list of double type feature value.setDoubleValue(double value) Double type feature value.setInt64ArrayValue(Int64Array value) A list of int64 type feature value.setInt64ArrayValue(Int64Array.Builder builderForValue) A list of int64 type feature value.setInt64Value(long value) Int64 feature value.setMetadata(FeatureValue.Metadata value) Metadata of feature value.setMetadata(FeatureValue.Metadata.Builder builderForValue) Metadata of feature value.setStringArrayValue(StringArray value) A list of string type feature value.setStringArrayValue(StringArray.Builder builderForValue) A list of string type feature value.setStringValue(String value) String feature value.setStringValueBytes(com.google.protobuf.ByteString value) String feature value.setStructValue(StructValue value) A struct type feature value.setStructValue(StructValue.Builder builderForValue) A struct type feature value.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FeatureValue.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FeatureValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FeatureValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureValue.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceFeatureValueOrBuilder
-
clearValue
-
hasBoolValue
public boolean hasBoolValue()Bool type feature value.
bool bool_value = 1;- Specified by:
hasBoolValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()Bool type feature value.
bool bool_value = 1;- Specified by:
getBoolValuein interfaceFeatureValueOrBuilder- Returns:
- The boolValue.
-
setBoolValue
Bool type feature value.
bool bool_value = 1;- Parameters:
value- The boolValue to set.- Returns:
- This builder for chaining.
-
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:
hasDoubleValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()Double type feature value.
double double_value = 2;- Specified by:
getDoubleValuein interfaceFeatureValueOrBuilder- Returns:
- The doubleValue.
-
setDoubleValue
Double type feature value.
double double_value = 2;- Parameters:
value- The doubleValue to set.- Returns:
- This builder for chaining.
-
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:
hasInt64Valuein interfaceFeatureValueOrBuilder- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()Int64 feature value.
int64 int64_value = 5;- Specified by:
getInt64Valuein interfaceFeatureValueOrBuilder- Returns:
- The int64Value.
-
setInt64Value
Int64 feature value.
int64 int64_value = 5;- Parameters:
value- The int64Value to set.- Returns:
- This builder for chaining.
-
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:
hasStringValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
String feature value.
string string_value = 6;- Specified by:
getStringValuein interfaceFeatureValueOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()String feature value.
string string_value = 6;- Specified by:
getStringValueBytesin interfaceFeatureValueOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
String feature value.
string string_value = 6;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
String feature value.
string string_value = 6;- Returns:
- This builder for chaining.
-
setStringValueBytes
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:
hasBoolArrayValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the boolArrayValue field is set.
-
getBoolArrayValue
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;- Specified by:
getBoolArrayValuein interfaceFeatureValueOrBuilder- Returns:
- The boolArrayValue.
-
setBoolArrayValue
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; -
setBoolArrayValue
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; -
mergeBoolArrayValue
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; -
clearBoolArrayValue
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; -
getBoolArrayValueBuilder
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; -
getBoolArrayValueOrBuilder
A list of bool type feature value.
.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;- Specified by:
getBoolArrayValueOrBuilderin interfaceFeatureValueOrBuilder
-
hasDoubleArrayValue
public boolean hasDoubleArrayValue()A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;- Specified by:
hasDoubleArrayValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the doubleArrayValue field is set.
-
getDoubleArrayValue
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;- Specified by:
getDoubleArrayValuein interfaceFeatureValueOrBuilder- Returns:
- The doubleArrayValue.
-
setDoubleArrayValue
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; -
setDoubleArrayValue
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; -
mergeDoubleArrayValue
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; -
clearDoubleArrayValue
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; -
getDoubleArrayValueBuilder
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; -
getDoubleArrayValueOrBuilder
A list of double type feature value.
.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;- Specified by:
getDoubleArrayValueOrBuilderin interfaceFeatureValueOrBuilder
-
hasInt64ArrayValue
public boolean hasInt64ArrayValue()A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;- Specified by:
hasInt64ArrayValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the int64ArrayValue field is set.
-
getInt64ArrayValue
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;- Specified by:
getInt64ArrayValuein interfaceFeatureValueOrBuilder- Returns:
- The int64ArrayValue.
-
setInt64ArrayValue
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; -
setInt64ArrayValue
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; -
mergeInt64ArrayValue
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; -
clearInt64ArrayValue
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; -
getInt64ArrayValueBuilder
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; -
getInt64ArrayValueOrBuilder
A list of int64 type feature value.
.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;- Specified by:
getInt64ArrayValueOrBuilderin interfaceFeatureValueOrBuilder
-
hasStringArrayValue
public boolean hasStringArrayValue()A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12;- Specified by:
hasStringArrayValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the stringArrayValue field is set.
-
getStringArrayValue
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12;- Specified by:
getStringArrayValuein interfaceFeatureValueOrBuilder- Returns:
- The stringArrayValue.
-
setStringArrayValue
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12; -
setStringArrayValue
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12; -
mergeStringArrayValue
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12; -
clearStringArrayValue
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12; -
getStringArrayValueBuilder
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12; -
getStringArrayValueOrBuilder
A list of string type feature value.
.google.cloud.aiplatform.v1.StringArray string_array_value = 12;- Specified by:
getStringArrayValueOrBuilderin interfaceFeatureValueOrBuilder
-
hasBytesValue
public boolean hasBytesValue()Bytes feature value.
bytes bytes_value = 13;- Specified by:
hasBytesValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
public com.google.protobuf.ByteString getBytesValue()Bytes feature value.
bytes bytes_value = 13;- Specified by:
getBytesValuein interfaceFeatureValueOrBuilder- Returns:
- The bytesValue.
-
setBytesValue
Bytes feature value.
bytes bytes_value = 13;- Parameters:
value- The bytesValue to set.- Returns:
- This builder for chaining.
-
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:
hasStructValuein interfaceFeatureValueOrBuilder- Returns:
- Whether the structValue field is set.
-
getStructValue
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15;- Specified by:
getStructValuein interfaceFeatureValueOrBuilder- Returns:
- The structValue.
-
setStructValue
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15; -
setStructValue
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15; -
mergeStructValue
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15; -
clearStructValue
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15; -
getStructValueBuilder
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15; -
getStructValueOrBuilder
A struct type feature value.
.google.cloud.aiplatform.v1.StructValue struct_value = 15;- Specified by:
getStructValueOrBuilderin interfaceFeatureValueOrBuilder
-
hasMetadata
public boolean hasMetadata()Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;- Specified by:
hasMetadatain interfaceFeatureValueOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;- Specified by:
getMetadatain interfaceFeatureValueOrBuilder- Returns:
- The metadata.
-
setMetadata
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; -
setMetadata
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; -
mergeMetadata
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; -
clearMetadata
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; -
getMetadataBuilder
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; -
getMetadataOrBuilder
Metadata of feature value.
.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;- Specified by:
getMetadataOrBuilderin interfaceFeatureValueOrBuilder
-