Class FeatureValue.Builder (3.36.0)

public static final class FeatureValue.Builder extends GeneratedMessageV3.Builder<FeatureValue.Builder> implements FeatureValueOrBuilder

Value for a feature.

Protobuf type google.cloud.aiplatform.v1.FeatureValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureValue.Builder
Overrides

build()

public FeatureValue build()
Returns
TypeDescription
FeatureValue

buildPartial()

public FeatureValue buildPartial()
Returns
TypeDescription
FeatureValue

clear()

public FeatureValue.Builder clear()
Returns
TypeDescription
FeatureValue.Builder
Overrides

clearBoolArrayValue()

public FeatureValue.Builder clearBoolArrayValue()

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Returns
TypeDescription
FeatureValue.Builder

clearBoolValue()

public FeatureValue.Builder clearBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

clearBytesValue()

public FeatureValue.Builder clearBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

clearDoubleArrayValue()

public FeatureValue.Builder clearDoubleArrayValue()

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Returns
TypeDescription
FeatureValue.Builder

clearDoubleValue()

public FeatureValue.Builder clearDoubleValue()

Double type feature value.

double double_value = 2;

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureValue.Builder
Overrides

clearInt64ArrayValue()

public FeatureValue.Builder clearInt64ArrayValue()

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Returns
TypeDescription
FeatureValue.Builder

clearInt64Value()

public FeatureValue.Builder clearInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

clearMetadata()

public FeatureValue.Builder clearMetadata()

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Returns
TypeDescription
FeatureValue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureValue.Builder
Overrides

clearStringArrayValue()

public FeatureValue.Builder clearStringArrayValue()

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Returns
TypeDescription
FeatureValue.Builder

clearStringValue()

public FeatureValue.Builder clearStringValue()

String feature value.

string string_value = 6;

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

clearValue()

public FeatureValue.Builder clearValue()
Returns
TypeDescription
FeatureValue.Builder

clone()

public FeatureValue.Builder clone()
Returns
TypeDescription
FeatureValue.Builder
Overrides

getBoolArrayValue()

public BoolArray getBoolArrayValue()

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Returns
TypeDescription
BoolArray

The boolArrayValue.

getBoolArrayValueBuilder()

public BoolArray.Builder getBoolArrayValueBuilder()

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Returns
TypeDescription
BoolArray.Builder

getBoolArrayValueOrBuilder()

public BoolArrayOrBuilder getBoolArrayValueOrBuilder()

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Returns
TypeDescription
BoolArrayOrBuilder

getBoolValue()

public boolean getBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
TypeDescription
boolean

The boolValue.

getBytesValue()

public ByteString getBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
TypeDescription
ByteString

The bytesValue.

getDefaultInstanceForType()

public FeatureValue getDefaultInstanceForType()
Returns
TypeDescription
FeatureValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDoubleArrayValue()

public DoubleArray getDoubleArrayValue()

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Returns
TypeDescription
DoubleArray

The doubleArrayValue.

getDoubleArrayValueBuilder()

public DoubleArray.Builder getDoubleArrayValueBuilder()

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Returns
TypeDescription
DoubleArray.Builder

getDoubleArrayValueOrBuilder()

public DoubleArrayOrBuilder getDoubleArrayValueOrBuilder()

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Returns
TypeDescription
DoubleArrayOrBuilder

getDoubleValue()

public double getDoubleValue()

Double type feature value.

double double_value = 2;

Returns
TypeDescription
double

The doubleValue.

getInt64ArrayValue()

public Int64Array getInt64ArrayValue()

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Returns
TypeDescription
Int64Array

The int64ArrayValue.

getInt64ArrayValueBuilder()

public Int64Array.Builder getInt64ArrayValueBuilder()

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Returns
TypeDescription
Int64Array.Builder

getInt64ArrayValueOrBuilder()

public Int64ArrayOrBuilder getInt64ArrayValueOrBuilder()

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Returns
TypeDescription
Int64ArrayOrBuilder

getInt64Value()

public long getInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
TypeDescription
long

The int64Value.

getMetadata()

public FeatureValue.Metadata getMetadata()

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Returns
TypeDescription
FeatureValue.Metadata

The metadata.

getMetadataBuilder()

public FeatureValue.Metadata.Builder getMetadataBuilder()

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Returns
TypeDescription
FeatureValue.Metadata.Builder

getMetadataOrBuilder()

public FeatureValue.MetadataOrBuilder getMetadataOrBuilder()

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Returns
TypeDescription
FeatureValue.MetadataOrBuilder

getStringArrayValue()

public StringArray getStringArrayValue()

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Returns
TypeDescription
StringArray

The stringArrayValue.

getStringArrayValueBuilder()

public StringArray.Builder getStringArrayValueBuilder()

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Returns
TypeDescription
StringArray.Builder

getStringArrayValueOrBuilder()

public StringArrayOrBuilder getStringArrayValueOrBuilder()

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Returns
TypeDescription
StringArrayOrBuilder

getStringValue()

public String getStringValue()

String feature value.

string string_value = 6;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

String feature value.

string string_value = 6;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getValueCase()

public FeatureValue.ValueCase getValueCase()
Returns
TypeDescription
FeatureValue.ValueCase

hasBoolArrayValue()

public boolean hasBoolArrayValue()

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Returns
TypeDescription
boolean

Whether the boolArrayValue field is set.

hasBoolValue()

public boolean hasBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
TypeDescription
boolean

Whether the boolValue field is set.

hasBytesValue()

public boolean hasBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
TypeDescription
boolean

Whether the bytesValue field is set.

hasDoubleArrayValue()

public boolean hasDoubleArrayValue()

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Returns
TypeDescription
boolean

Whether the doubleArrayValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

Double type feature value.

double double_value = 2;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasInt64ArrayValue()

public boolean hasInt64ArrayValue()

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Returns
TypeDescription
boolean

Whether the int64ArrayValue field is set.

hasInt64Value()

public boolean hasInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
TypeDescription
boolean

Whether the int64Value field is set.

hasMetadata()

public boolean hasMetadata()

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasStringArrayValue()

public boolean hasStringArrayValue()

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Returns
TypeDescription
boolean

Whether the stringArrayValue field is set.

hasStringValue()

public boolean hasStringValue()

String feature value.

string string_value = 6;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBoolArrayValue(BoolArray value)

public FeatureValue.Builder mergeBoolArrayValue(BoolArray value)

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Parameter
NameDescription
valueBoolArray
Returns
TypeDescription
FeatureValue.Builder

mergeDoubleArrayValue(DoubleArray value)

public FeatureValue.Builder mergeDoubleArrayValue(DoubleArray value)

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Parameter
NameDescription
valueDoubleArray
Returns
TypeDescription
FeatureValue.Builder

mergeFrom(FeatureValue other)

public FeatureValue.Builder mergeFrom(FeatureValue other)
Parameter
NameDescription
otherFeatureValue
Returns
TypeDescription
FeatureValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureValue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureValue.Builder
Overrides

mergeInt64ArrayValue(Int64Array value)

public FeatureValue.Builder mergeInt64ArrayValue(Int64Array value)

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Parameter
NameDescription
valueInt64Array
Returns
TypeDescription
FeatureValue.Builder

mergeMetadata(FeatureValue.Metadata value)

public FeatureValue.Builder mergeMetadata(FeatureValue.Metadata value)

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Parameter
NameDescription
valueFeatureValue.Metadata
Returns
TypeDescription
FeatureValue.Builder

mergeStringArrayValue(StringArray value)

public FeatureValue.Builder mergeStringArrayValue(StringArray value)

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Parameter
NameDescription
valueStringArray
Returns
TypeDescription
FeatureValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureValue.Builder
Overrides

setBoolArrayValue(BoolArray value)

public FeatureValue.Builder setBoolArrayValue(BoolArray value)

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Parameter
NameDescription
valueBoolArray
Returns
TypeDescription
FeatureValue.Builder

setBoolArrayValue(BoolArray.Builder builderForValue)

public FeatureValue.Builder setBoolArrayValue(BoolArray.Builder builderForValue)

A list of bool type feature value.

.google.cloud.aiplatform.v1.BoolArray bool_array_value = 7;

Parameter
NameDescription
builderForValueBoolArray.Builder
Returns
TypeDescription
FeatureValue.Builder

setBoolValue(boolean value)

public FeatureValue.Builder setBoolValue(boolean value)

Bool type feature value.

bool bool_value = 1;

Parameter
NameDescription
valueboolean

The boolValue to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setBytesValue(ByteString value)

public FeatureValue.Builder setBytesValue(ByteString value)

Bytes feature value.

bytes bytes_value = 13;

Parameter
NameDescription
valueByteString

The bytesValue to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setDoubleArrayValue(DoubleArray value)

public FeatureValue.Builder setDoubleArrayValue(DoubleArray value)

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Parameter
NameDescription
valueDoubleArray
Returns
TypeDescription
FeatureValue.Builder

setDoubleArrayValue(DoubleArray.Builder builderForValue)

public FeatureValue.Builder setDoubleArrayValue(DoubleArray.Builder builderForValue)

A list of double type feature value.

.google.cloud.aiplatform.v1.DoubleArray double_array_value = 8;

Parameter
NameDescription
builderForValueDoubleArray.Builder
Returns
TypeDescription
FeatureValue.Builder

setDoubleValue(double value)

public FeatureValue.Builder setDoubleValue(double value)

Double type feature value.

double double_value = 2;

Parameter
NameDescription
valuedouble

The doubleValue to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureValue.Builder
Overrides

setInt64ArrayValue(Int64Array value)

public FeatureValue.Builder setInt64ArrayValue(Int64Array value)

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Parameter
NameDescription
valueInt64Array
Returns
TypeDescription
FeatureValue.Builder

setInt64ArrayValue(Int64Array.Builder builderForValue)

public FeatureValue.Builder setInt64ArrayValue(Int64Array.Builder builderForValue)

A list of int64 type feature value.

.google.cloud.aiplatform.v1.Int64Array int64_array_value = 11;

Parameter
NameDescription
builderForValueInt64Array.Builder
Returns
TypeDescription
FeatureValue.Builder

setInt64Value(long value)

public FeatureValue.Builder setInt64Value(long value)

Int64 feature value.

int64 int64_value = 5;

Parameter
NameDescription
valuelong

The int64Value to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setMetadata(FeatureValue.Metadata value)

public FeatureValue.Builder setMetadata(FeatureValue.Metadata value)

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Parameter
NameDescription
valueFeatureValue.Metadata
Returns
TypeDescription
FeatureValue.Builder

setMetadata(FeatureValue.Metadata.Builder builderForValue)

public FeatureValue.Builder setMetadata(FeatureValue.Metadata.Builder builderForValue)

Metadata of feature value.

.google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;

Parameter
NameDescription
builderForValueFeatureValue.Metadata.Builder
Returns
TypeDescription
FeatureValue.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FeatureValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureValue.Builder
Overrides

setStringArrayValue(StringArray value)

public FeatureValue.Builder setStringArrayValue(StringArray value)

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Parameter
NameDescription
valueStringArray
Returns
TypeDescription
FeatureValue.Builder

setStringArrayValue(StringArray.Builder builderForValue)

public FeatureValue.Builder setStringArrayValue(StringArray.Builder builderForValue)

A list of string type feature value.

.google.cloud.aiplatform.v1.StringArray string_array_value = 12;

Parameter
NameDescription
builderForValueStringArray.Builder
Returns
TypeDescription
FeatureValue.Builder

setStringValue(String value)

public FeatureValue.Builder setStringValue(String value)

String feature value.

string string_value = 6;

Parameter
NameDescription
valueString

The stringValue to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public FeatureValue.Builder setStringValueBytes(ByteString value)

String feature value.

string string_value = 6;

Parameter
NameDescription
valueByteString

The bytes for stringValue to set.

Returns
TypeDescription
FeatureValue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureValue.Builder
Overrides