Class GetGuestAttributesResponse.Builder (2.55.0)

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

Response for GetGuestAttributes.

Protobuf type google.cloud.tpu.v2alpha1.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.v2alpha1.GuestAttributes guest_attributes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.tpu.v2alpha1.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.v2alpha1.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.v2alpha1.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.v2alpha1.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.v2alpha1.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.v2alpha1.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.v2alpha1.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestAttributes.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearGuestAttributes()

public GetGuestAttributesResponse.Builder clearGuestAttributes()

The guest attributes for the TPU workers.

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

Returns
Type Description
GetGuestAttributesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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.v2alpha1.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.v2alpha1.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.v2alpha1.GuestAttributes guest_attributes = 1;

Returns
Type Description
List<Builder>

getGuestAttributesCount()

public int getGuestAttributesCount()

The guest attributes for the TPU workers.

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

Returns
Type Description
int

getGuestAttributesList()

public List<GuestAttributes> getGuestAttributesList()

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2alpha1.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.v2alpha1.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.v2alpha1.GuestAttributes guest_attributes = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v2alpha1.GuestAttributes guest_attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
GetGuestAttributesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGuestAttributes(int index, GuestAttributes value)

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

The guest attributes for the TPU workers.

repeated .google.cloud.tpu.v2alpha1.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.v2alpha1.GuestAttributes guest_attributes = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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