Class GetGuestAttributesResponse.Builder (2.84.0)

public static final class GetGuestAttributesResponse.Builder extends GeneratedMessage.Builder<GetGuestAttributesResponse.Builder> implements GetGuestAttributesResponseOrBuilder

Response for GetGuestAttributes.

Protobuf type google.cloud.tpu.v2.GetGuestAttributesResponse

Static Methods

getDescriptor()

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

Methods

addAllGuestAttributes(Iterable<? extends GuestAttributes> values)

public GetGuestAttributesResponse.Builder addAllGuestAttributes(Iterable<? extends GuestAttributes> values)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v2.GuestAttributes>
Returns
Type Description
GetGuestAttributesResponse.Builder

addGuestAttributes(GuestAttributes value)

public GetGuestAttributesResponse.Builder addGuestAttributes(GuestAttributes value)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
value GuestAttributes
Returns
Type Description
GetGuestAttributesResponse.Builder

addGuestAttributes(GuestAttributes.Builder builderForValue)

public GetGuestAttributesResponse.Builder addGuestAttributes(GuestAttributes.Builder builderForValue)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
builderForValue GuestAttributes.Builder
Returns
Type Description
GetGuestAttributesResponse.Builder

addGuestAttributes(int index, GuestAttributes value)

public GetGuestAttributesResponse.Builder addGuestAttributes(int index, GuestAttributes value)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameters
Name Description
index int
value GuestAttributes
Returns
Type Description
GetGuestAttributesResponse.Builder

addGuestAttributes(int index, GuestAttributes.Builder builderForValue)

public GetGuestAttributesResponse.Builder addGuestAttributes(int index, GuestAttributes.Builder builderForValue)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameters
Name Description
index int
builderForValue GuestAttributes.Builder
Returns
Type Description
GetGuestAttributesResponse.Builder

addGuestAttributesBuilder()

public GuestAttributes.Builder addGuestAttributesBuilder()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
GuestAttributes.Builder

addGuestAttributesBuilder(int index)

public GuestAttributes.Builder addGuestAttributesBuilder(int index)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributes.Builder

build()

public GetGuestAttributesResponse build()
Returns
Type Description
GetGuestAttributesResponse

buildPartial()

public GetGuestAttributesResponse buildPartial()
Returns
Type Description
GetGuestAttributesResponse

clear()

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

clearGuestAttributes()

public GetGuestAttributesResponse.Builder clearGuestAttributes()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
GetGuestAttributesResponse.Builder

getDefaultInstanceForType()

public GetGuestAttributesResponse getDefaultInstanceForType()
Returns
Type Description
GetGuestAttributesResponse

getDescriptorForType()

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

getGuestAttributes(int index)

public GuestAttributes getGuestAttributes(int index)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributes

getGuestAttributesBuilder(int index)

public GuestAttributes.Builder getGuestAttributesBuilder(int index)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributes.Builder

getGuestAttributesBuilderList()

public List<GuestAttributes.Builder> getGuestAttributesBuilderList()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
List<Builder>

getGuestAttributesCount()

public int getGuestAttributesCount()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
int

getGuestAttributesList()

public List<GuestAttributes> getGuestAttributesList()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
List<GuestAttributes>

getGuestAttributesOrBuilder(int index)

public GuestAttributesOrBuilder getGuestAttributesOrBuilder(int index)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributesOrBuilder

getGuestAttributesOrBuilderList()

public List<? extends GuestAttributesOrBuilder> getGuestAttributesOrBuilderList()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Returns
Type Description
List<? extends com.google.cloud.tpu.v2.GuestAttributesOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetGuestAttributesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeGuestAttributes(int index)

public GetGuestAttributesResponse.Builder removeGuestAttributes(int index)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GetGuestAttributesResponse.Builder

setGuestAttributes(int index, GuestAttributes value)

public GetGuestAttributesResponse.Builder setGuestAttributes(int index, GuestAttributes value)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameters
Name Description
index int
value GuestAttributes
Returns
Type Description
GetGuestAttributesResponse.Builder

setGuestAttributes(int index, GuestAttributes.Builder builderForValue)

public GetGuestAttributesResponse.Builder setGuestAttributes(int index, GuestAttributes.Builder builderForValue)

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;

Parameters
Name Description
index int
builderForValue GuestAttributes.Builder
Returns
Type Description
GetGuestAttributesResponse.Builder