public static final class GetGuestAttributesResponse.Builder extends GeneratedMessageV3.Builder<GetGuestAttributesResponse.Builder> implements GetGuestAttributesResponseOrBuilder
Response for GetGuestAttributes.
Protobuf type google.cloud.tpu.v2.GetGuestAttributesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addGuestAttributesBuilder()
public GuestAttributes.Builder addGuestAttributesBuilder()
The guest attributes for the TPU workers.
repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetGuestAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetGuestAttributesResponse build()
Returns
buildPartial()
public GetGuestAttributesResponse buildPartial()
Returns
clear()
public GetGuestAttributesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetGuestAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGuestAttributes()
public GetGuestAttributesResponse.Builder clearGuestAttributes()
The guest attributes for the TPU workers.
repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetGuestAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetGuestAttributesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetGuestAttributesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getGuestAttributesBuilderList()
public List<GuestAttributes.Builder> getGuestAttributesBuilderList()
The guest attributes for the TPU workers.
repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
Returns
getGuestAttributesCount()
public int getGuestAttributesCount()
The guest attributes for the TPU workers.
repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
Returns
getGuestAttributesList()
public List<GuestAttributes> getGuestAttributesList()
The guest attributes for the TPU workers.
repeated .google.cloud.tpu.v2.GuestAttributes guest_attributes = 1;
Returns
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
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetGuestAttributesResponse other)
public GetGuestAttributesResponse.Builder mergeFrom(GetGuestAttributesResponse other)
Parameter
Returns
public GetGuestAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetGuestAttributesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetGuestAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GetGuestAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v2.GuestAttributes guest_attributes = 1;
Parameters
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetGuestAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetGuestAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides