Class GetGuestAttributesResponse.Builder (2.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.tpu.v2alpha1.GuestAttributes>
Returns
TypeDescription
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
NameDescription
valueGuestAttributes
Returns
TypeDescription
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
NameDescription
builderForValueGuestAttributes.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueGuestAttributes
Returns
TypeDescription
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
NameDescription
indexint
builderForValueGuestAttributes.Builder
Returns
TypeDescription
GetGuestAttributesResponse.Builder

addGuestAttributesBuilder()

public GuestAttributes.Builder addGuestAttributesBuilder()

The guest attributes for the TPU workers.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GuestAttributes.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

build()

public GetGuestAttributesResponse build()
Returns
TypeDescription
GetGuestAttributesResponse

buildPartial()

public GetGuestAttributesResponse buildPartial()
Returns
TypeDescription
GetGuestAttributesResponse

clear()

public GetGuestAttributesResponse.Builder clear()
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetGuestAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetGuestAttributesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GetGuestAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

clone()

public GetGuestAttributesResponse.Builder clone()
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

getDefaultInstanceForType()

public GetGuestAttributesResponse getDefaultInstanceForType()
Returns
TypeDescription
GetGuestAttributesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getGuestAttributesCount()

public int getGuestAttributesCount()

The guest attributes for the TPU workers.

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

Returns
TypeDescription
int

getGuestAttributesList()

public List<GuestAttributes> getGuestAttributesList()

The guest attributes for the TPU workers.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GuestAttributesOrBuilder

getGuestAttributesOrBuilderList()

public List<? extends GuestAttributesOrBuilder> getGuestAttributesOrBuilderList()

The guest attributes for the TPU workers.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGuestAttributesResponse other)

public GetGuestAttributesResponse.Builder mergeFrom(GetGuestAttributesResponse other)
Parameter
NameDescription
otherGetGuestAttributesResponse
Returns
TypeDescription
GetGuestAttributesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetGuestAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetGuestAttributesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GetGuestAttributesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GetGuestAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueGuestAttributes
Returns
TypeDescription
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
NameDescription
indexint
builderForValueGuestAttributes.Builder
Returns
TypeDescription
GetGuestAttributesResponse.Builder

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

public GetGuestAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetGuestAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetGuestAttributesResponse.Builder
Overrides