Class StructFieldValue.Builder (3.46.0)

public static final class StructFieldValue.Builder extends GeneratedMessageV3.Builder<StructFieldValue.Builder> implements StructFieldValueOrBuilder

One field of a Struct (or object) type feature value.

Protobuf type google.cloud.aiplatform.v1.StructFieldValue

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StructFieldValue build()
Returns
Type Description
StructFieldValue

buildPartial()

public StructFieldValue buildPartial()
Returns
Type Description
StructFieldValue

clear()

public StructFieldValue.Builder clear()
Returns
Type Description
StructFieldValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StructFieldValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StructFieldValue.Builder
Overrides

clearName()

public StructFieldValue.Builder clearName()

Name of the field in the struct feature.

string name = 1;

Returns
Type Description
StructFieldValue.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StructFieldValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StructFieldValue.Builder
Overrides

clearValue()

public StructFieldValue.Builder clearValue()

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Returns
Type Description
StructFieldValue.Builder

clone()

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

getDefaultInstanceForType()

public StructFieldValue getDefaultInstanceForType()
Returns
Type Description
StructFieldValue

getDescriptorForType()

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

getName()

public String getName()

Name of the field in the struct feature.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the field in the struct feature.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getValue()

public FeatureValue getValue()

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Returns
Type Description
FeatureValue

The value.

getValueBuilder()

public FeatureValue.Builder getValueBuilder()

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Returns
Type Description
FeatureValue.Builder

getValueOrBuilder()

public FeatureValueOrBuilder getValueOrBuilder()

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Returns
Type Description
FeatureValueOrBuilder

hasValue()

public boolean hasValue()

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StructFieldValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public StructFieldValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StructFieldValue.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StructFieldValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StructFieldValue.Builder
Overrides

mergeValue(FeatureValue value)

public StructFieldValue.Builder mergeValue(FeatureValue value)

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Parameter
Name Description
value FeatureValue
Returns
Type Description
StructFieldValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StructFieldValue.Builder setName(String value)

Name of the field in the struct feature.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StructFieldValue.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StructFieldValue.Builder setNameBytes(ByteString value)

Name of the field in the struct feature.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StructFieldValue.Builder

This builder for chaining.

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

public StructFieldValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StructFieldValue.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(FeatureValue value)

public StructFieldValue.Builder setValue(FeatureValue value)

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Parameter
Name Description
value FeatureValue
Returns
Type Description
StructFieldValue.Builder

setValue(FeatureValue.Builder builderForValue)

public StructFieldValue.Builder setValue(FeatureValue.Builder builderForValue)

The value for this field.

.google.cloud.aiplatform.v1.FeatureValue value = 2;

Parameter
Name Description
builderForValue FeatureValue.Builder
Returns
Type Description
StructFieldValue.Builder