Class GuestAttributesValue.Builder (2.49.0)

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.v2alpha1.GuestAttributesValue

Static Methods

getDescriptor()

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

Methods

addAllItems(Iterable<? extends GuestAttributesEntry> values)

public GuestAttributesValue.Builder addAllItems(Iterable<? extends GuestAttributesEntry> values)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v2alpha1.GuestAttributesEntry>
Returns
Type Description
GuestAttributesValue.Builder

addItems(GuestAttributesEntry value)

public GuestAttributesValue.Builder addItems(GuestAttributesEntry value)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

addItems(GuestAttributesEntry.Builder builderForValue)

public GuestAttributesValue.Builder addItems(GuestAttributesEntry.Builder builderForValue)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

addItems(int index, GuestAttributesEntry value)

public GuestAttributesValue.Builder addItems(int index, GuestAttributesEntry value)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameters
Name Description
index int
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

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.v2alpha1.GuestAttributesEntry items = 1;

Parameters
Name Description
index int
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

addItemsBuilder()

public GuestAttributesEntry.Builder addItemsBuilder()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
GuestAttributesEntry.Builder

addItemsBuilder(int index)

public GuestAttributesEntry.Builder addItemsBuilder(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestAttributesValue build()
Returns
Type Description
GuestAttributesValue

buildPartial()

public GuestAttributesValue buildPartial()
Returns
Type Description
GuestAttributesValue

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearItems()

public GuestAttributesValue.Builder clearItems()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
GuestAttributesValue.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GuestAttributesValue getDefaultInstanceForType()
Returns
Type Description
GuestAttributesValue

getDescriptorForType()

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

getItems(int index)

public GuestAttributesEntry getItems(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry

getItemsBuilder(int index)

public GuestAttributesEntry.Builder getItemsBuilder(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntry.Builder

getItemsBuilderList()

public List<GuestAttributesEntry.Builder> getItemsBuilderList()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
List<Builder>

getItemsCount()

public int getItemsCount()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
int

getItemsList()

public List<GuestAttributesEntry> getItemsList()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
List<GuestAttributesEntry>

getItemsOrBuilder(int index)

public GuestAttributesEntryOrBuilder getItemsOrBuilder(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesEntryOrBuilder

getItemsOrBuilderList()

public List<? extends GuestAttributesEntryOrBuilder> getItemsOrBuilderList()

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Returns
Type Description
List<? extends com.google.cloud.tpu.v2alpha1.GuestAttributesEntryOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestAttributesValue other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeItems(int index)

public GuestAttributesValue.Builder removeItems(int index)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setItems(int index, GuestAttributesEntry value)

public GuestAttributesValue.Builder setItems(int index, GuestAttributesEntry value)

The list of guest attributes entries.

repeated .google.cloud.tpu.v2alpha1.GuestAttributesEntry items = 1;

Parameters
Name Description
index int
value GuestAttributesEntry
Returns
Type Description
GuestAttributesValue.Builder

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.v2alpha1.GuestAttributesEntry items = 1;

Parameters
Name Description
index int
builderForValue GuestAttributesEntry.Builder
Returns
Type Description
GuestAttributesValue.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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