Class StructValue.Builder (3.54.0)

public static final class StructValue.Builder extends GeneratedMessageV3.Builder<StructValue.Builder> implements StructValueOrBuilder

Struct (or object) type feature value.

Protobuf type google.cloud.aiplatform.v1beta1.StructValue

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends StructFieldValue> values)

public StructValue.Builder addAllValues(Iterable<? extends StructFieldValue> values)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.StructFieldValue>
Returns
Type Description
StructValue.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(StructFieldValue value)

public StructValue.Builder addValues(StructFieldValue value)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
value StructFieldValue
Returns
Type Description
StructValue.Builder

addValues(StructFieldValue.Builder builderForValue)

public StructValue.Builder addValues(StructFieldValue.Builder builderForValue)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

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

addValues(int index, StructFieldValue value)

public StructValue.Builder addValues(int index, StructFieldValue value)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameters
Name Description
index int
value StructFieldValue
Returns
Type Description
StructValue.Builder

addValues(int index, StructFieldValue.Builder builderForValue)

public StructValue.Builder addValues(int index, StructFieldValue.Builder builderForValue)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameters
Name Description
index int
builderForValue StructFieldValue.Builder
Returns
Type Description
StructValue.Builder

addValuesBuilder()

public StructFieldValue.Builder addValuesBuilder()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
StructFieldValue.Builder

addValuesBuilder(int index)

public StructFieldValue.Builder addValuesBuilder(int index)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
StructFieldValue.Builder

build()

public StructValue build()
Returns
Type Description
StructValue

buildPartial()

public StructValue buildPartial()
Returns
Type Description
StructValue

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public StructValue.Builder clearValues()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
StructValue.Builder

clone()

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

getDefaultInstanceForType()

public StructValue getDefaultInstanceForType()
Returns
Type Description
StructValue

getDescriptorForType()

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

getValues(int index)

public StructFieldValue getValues(int index)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
StructFieldValue

getValuesBuilder(int index)

public StructFieldValue.Builder getValuesBuilder(int index)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
StructFieldValue.Builder

getValuesBuilderList()

public List<StructFieldValue.Builder> getValuesBuilderList()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
int

getValuesList()

public List<StructFieldValue> getValuesList()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
List<StructFieldValue>

getValuesOrBuilder(int index)

public StructFieldValueOrBuilder getValuesOrBuilder(int index)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
StructFieldValueOrBuilder

getValuesOrBuilderList()

public List<? extends StructFieldValueOrBuilder> getValuesOrBuilderList()

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.StructFieldValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StructValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValues(int index)

public StructValue.Builder removeValues(int index)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
StructValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, StructFieldValue value)

public StructValue.Builder setValues(int index, StructFieldValue value)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameters
Name Description
index int
value StructFieldValue
Returns
Type Description
StructValue.Builder

setValues(int index, StructFieldValue.Builder builderForValue)

public StructValue.Builder setValues(int index, StructFieldValue.Builder builderForValue)

A list of field values.

repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;

Parameters
Name Description
index int
builderForValue StructFieldValue.Builder
Returns
Type Description
StructValue.Builder