public static final class GuestAttributesValue.Builder extends GeneratedMessage.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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
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
|
build()
public GuestAttributesValue build()
buildPartial()
public GuestAttributesValue buildPartial()
clear()
public GuestAttributesValue.Builder clear()
Overrides
clearItems()
public GuestAttributesValue.Builder clearItems()
The list of guest attributes entries.
repeated .google.cloud.tpu.v2.GuestAttributesEntry items = 1;
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 GeneratedMessage.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
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
|
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;