Class FeatureValue.Builder (3.42.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureValue.Builder
Overrides

build()

public FeatureValue build()
Returns
Type Description
FeatureValue

buildPartial()

public FeatureValue buildPartial()
Returns
Type Description
FeatureValue

clear()

public FeatureValue.Builder clear()
Returns
Type Description
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
Type Description
FeatureValue.Builder

clearBoolValue()

public FeatureValue.Builder clearBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

clearBytesValue()

public FeatureValue.Builder clearBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
Type Description
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
Type Description
FeatureValue.Builder

clearDoubleValue()

public FeatureValue.Builder clearDoubleValue()

Double type feature value.

double double_value = 2;

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FeatureValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
FeatureValue.Builder

clearInt64Value()

public FeatureValue.Builder clearInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

clearMetadata()

public FeatureValue.Builder clearMetadata()

Metadata of feature value.

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

Returns
Type Description
FeatureValue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
FeatureValue.Builder

clearStringValue()

public FeatureValue.Builder clearStringValue()

String feature value.

string string_value = 6;

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

clearValue()

public FeatureValue.Builder clearValue()
Returns
Type Description
FeatureValue.Builder

clone()

public FeatureValue.Builder clone()
Returns
Type Description
FeatureValue.Builder
Overrides

getBoolArrayValue()

public BoolArray getBoolArrayValue()

A list of bool type feature value.

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

Returns
Type Description
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
Type Description
BoolArray.Builder

getBoolArrayValueOrBuilder()

public BoolArrayOrBuilder getBoolArrayValueOrBuilder()

A list of bool type feature value.

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

Returns
Type Description
BoolArrayOrBuilder

getBoolValue()

public boolean getBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
Type Description
boolean

The boolValue.

getBytesValue()

public ByteString getBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
Type Description
ByteString

The bytesValue.

getDefaultInstanceForType()

public FeatureValue getDefaultInstanceForType()
Returns
Type Description
FeatureValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDoubleArrayValue()

public DoubleArray getDoubleArrayValue()

A list of double type feature value.

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

Returns
Type Description
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
Type Description
DoubleArray.Builder

getDoubleArrayValueOrBuilder()

public DoubleArrayOrBuilder getDoubleArrayValueOrBuilder()

A list of double type feature value.

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

Returns
Type Description
DoubleArrayOrBuilder

getDoubleValue()

public double getDoubleValue()

Double type feature value.

double double_value = 2;

Returns
Type Description
double

The doubleValue.

getInt64ArrayValue()

public Int64Array getInt64ArrayValue()

A list of int64 type feature value.

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

Returns
Type Description
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
Type Description
Int64Array.Builder

getInt64ArrayValueOrBuilder()

public Int64ArrayOrBuilder getInt64ArrayValueOrBuilder()

A list of int64 type feature value.

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

Returns
Type Description
Int64ArrayOrBuilder

getInt64Value()

public long getInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
Type Description
long

The int64Value.

getMetadata()

public FeatureValue.Metadata getMetadata()

Metadata of feature value.

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

Returns
Type Description
FeatureValue.Metadata

The metadata.

getMetadataBuilder()

public FeatureValue.Metadata.Builder getMetadataBuilder()

Metadata of feature value.

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

Returns
Type Description
FeatureValue.Metadata.Builder

getMetadataOrBuilder()

public FeatureValue.MetadataOrBuilder getMetadataOrBuilder()

Metadata of feature value.

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

Returns
Type Description
FeatureValue.MetadataOrBuilder

getStringArrayValue()

public StringArray getStringArrayValue()

A list of string type feature value.

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

Returns
Type Description
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
Type Description
StringArray.Builder

getStringArrayValueOrBuilder()

public StringArrayOrBuilder getStringArrayValueOrBuilder()

A list of string type feature value.

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

Returns
Type Description
StringArrayOrBuilder

getStringValue()

public String getStringValue()

String feature value.

string string_value = 6;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

String feature value.

string string_value = 6;

Returns
Type Description
ByteString

The bytes for stringValue.

getValueCase()

public FeatureValue.ValueCase getValueCase()
Returns
Type Description
FeatureValue.ValueCase

hasBoolArrayValue()

public boolean hasBoolArrayValue()

A list of bool type feature value.

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

Returns
Type Description
boolean

Whether the boolArrayValue field is set.

hasBoolValue()

public boolean hasBoolValue()

Bool type feature value.

bool bool_value = 1;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasBytesValue()

public boolean hasBytesValue()

Bytes feature value.

bytes bytes_value = 13;

Returns
Type Description
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
Type Description
boolean

Whether the doubleArrayValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

Double type feature value.

double double_value = 2;

Returns
Type Description
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
Type Description
boolean

Whether the int64ArrayValue field is set.

hasInt64Value()

public boolean hasInt64Value()

Int64 feature value.

int64 int64_value = 5;

Returns
Type Description
boolean

Whether the int64Value field is set.

hasMetadata()

public boolean hasMetadata()

Metadata of feature value.

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

Returns
Type Description
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
Type Description
boolean

Whether the stringArrayValue field is set.

hasStringValue()

public boolean hasStringValue()

String feature value.

string string_value = 6;

Returns
Type Description
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value BoolArray
Returns
Type Description
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
Name Description
value DoubleArray
Returns
Type Description
FeatureValue.Builder

mergeFrom(FeatureValue other)

public FeatureValue.Builder mergeFrom(FeatureValue other)
Parameter
Name Description
other FeatureValue
Returns
Type Description
FeatureValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Int64Array
Returns
Type Description
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
Name Description
value FeatureValue.Metadata
Returns
Type Description
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
Name Description
value StringArray
Returns
Type Description
FeatureValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value BoolArray
Returns
Type Description
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
Name Description
builderForValue BoolArray.Builder
Returns
Type Description
FeatureValue.Builder

setBoolValue(boolean value)

public FeatureValue.Builder setBoolValue(boolean value)

Bool type feature value.

bool bool_value = 1;

Parameter
Name Description
value boolean

The boolValue to set.

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

setBytesValue(ByteString value)

public FeatureValue.Builder setBytesValue(ByteString value)

Bytes feature value.

bytes bytes_value = 13;

Parameter
Name Description
value ByteString

The bytesValue to set.

Returns
Type Description
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
Name Description
value DoubleArray
Returns
Type Description
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
Name Description
builderForValue DoubleArray.Builder
Returns
Type Description
FeatureValue.Builder

setDoubleValue(double value)

public FeatureValue.Builder setDoubleValue(double value)

Double type feature value.

double double_value = 2;

Parameter
Name Description
value double

The doubleValue to set.

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Int64Array
Returns
Type Description
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
Name Description
builderForValue Int64Array.Builder
Returns
Type Description
FeatureValue.Builder

setInt64Value(long value)

public FeatureValue.Builder setInt64Value(long value)

Int64 feature value.

int64 int64_value = 5;

Parameter
Name Description
value long

The int64Value to set.

Returns
Type Description
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
Name Description
value FeatureValue.Metadata
Returns
Type Description
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
Name Description
builderForValue FeatureValue.Metadata.Builder
Returns
Type Description
FeatureValue.Builder

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

public FeatureValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value StringArray
Returns
Type Description
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
Name Description
builderForValue StringArray.Builder
Returns
Type Description
FeatureValue.Builder

setStringValue(String value)

public FeatureValue.Builder setStringValue(String value)

String feature value.

string string_value = 6;

Parameter
Name Description
value String

The stringValue to set.

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public FeatureValue.Builder setStringValueBytes(ByteString value)

String feature value.

string string_value = 6;

Parameter
Name Description
value ByteString

The bytes for stringValue to set.

Returns
Type Description
FeatureValue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureValue.Builder
Overrides