public static final class GuestAttributesValue.Builder extends GeneratedMessageV3.Builder<GuestAttributesValue.Builder> implements GuestAttributesValueOrBuilder
Array of guest attribute namespace/key/value tuples.
Protobuf type google.cloud.tpu.v2.GuestAttributesValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllItems(Iterable<? extends GuestAttributesEntry> values)
public GuestAttributesValue.Builder addAllItems(Iterable<? extends GuestAttributesEntry> values)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.tpu.v2.GuestAttributesEntry>
|
addItems(GuestAttributesEntry value)
public GuestAttributesValue.Builder addItems(GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
addItems(GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue.Builder addItems(GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
addItems(int index, GuestAttributesEntry value)
public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
addItems(int index, GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
addItemsBuilder()
public GuestAttributesEntry.Builder addItemsBuilder()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
addItemsBuilder(int index)
public GuestAttributesEntry.Builder addItemsBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestAttributesValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GuestAttributesValue build()
buildPartial()
public GuestAttributesValue buildPartial()
clear()
public GuestAttributesValue.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestAttributesValue.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearItems()
public GuestAttributesValue.Builder clearItems()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestAttributesValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GuestAttributesValue.Builder clone()
Overrides
getDefaultInstanceForType()
public GuestAttributesValue getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getItems(int index)
public GuestAttributesEntry getItems(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
index | int
|
getItemsBuilder(int index)
public GuestAttributesEntry.Builder getItemsBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
index | int
|
getItemsBuilderList()
public List<GuestAttributesEntry.Builder> getItemsBuilderList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
getItemsCount()
public int getItemsCount()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Returns |
---|
Type | Description |
int | |
getItemsList()
public List<GuestAttributesEntry> getItemsList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
getItemsOrBuilder(int index)
public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
index | int
|
getItemsOrBuilderList()
public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.tpu.v2.GuestAttributesEntryOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GuestAttributesValue other)
public GuestAttributesValue.Builder mergeFrom(GuestAttributesValue other)
public GuestAttributesValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GuestAttributesValue.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestAttributesValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeItems(int index)
public GuestAttributesValue.Builder removeItems(int index)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GuestAttributesValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setItems(int index, GuestAttributesEntry value)
public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry value)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
setItems(int index, GuestAttributesEntry.Builder builderForValue)
public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry.Builder builderForValue)
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestAttributesValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestAttributesValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides