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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public StructValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StructValue.Builder addValues(StructFieldValue value)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructValue.Builder addValues(StructFieldValue.Builder builderForValue)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructValue.Builder addValues(int index, StructFieldValue value)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructValue.Builder addValues(int index, StructFieldValue.Builder builderForValue)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructFieldValue.Builder addValuesBuilder()
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructFieldValue.Builder addValuesBuilder(int index)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Parameter |
Name |
Description |
index |
int
|
public StructValue build()
public StructValue buildPartial()
public StructValue.Builder clear()
Overrides
public StructValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StructValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public StructValue.Builder clearValues()
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructValue.Builder clone()
Overrides
public StructValue getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public StructFieldValue getValues(int index)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Parameter |
Name |
Description |
index |
int
|
public StructFieldValue.Builder getValuesBuilder(int index)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Parameter |
Name |
Description |
index |
int
|
public List<StructFieldValue.Builder> getValuesBuilderList()
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public int getValuesCount()
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Returns |
Type |
Description |
int |
|
public List<StructFieldValue> getValuesList()
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructFieldValueOrBuilder getValuesOrBuilder(int index)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Parameter |
Name |
Description |
index |
int
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StructValue.Builder mergeFrom(StructValue other)
public StructValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StructValue.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final StructValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StructValue.Builder removeValues(int index)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
Parameter |
Name |
Description |
index |
int
|
public StructValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StructValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StructValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StructValue.Builder setValues(int index, StructFieldValue value)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;
public StructValue.Builder setValues(int index, StructFieldValue.Builder builderForValue)
A list of field values.
repeated .google.cloud.aiplatform.v1beta1.StructFieldValue values = 1;