Class StructFieldValue.Builder (3.84.0)

public static final class StructFieldValue.Builder extends GeneratedMessage.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

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

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.

clearValue()

public StructFieldValue.Builder clearValue()

The value for this field.

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

Returns
Type Description
StructFieldValue.Builder

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 GeneratedMessage.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

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

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.

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