- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.2.6
public static final class ListAcceleratorTypesResponse.Builder extends GeneratedMessageV3.Builder<ListAcceleratorTypesResponse.Builder> implements ListAcceleratorTypesResponseOrBuilder
Response for ListAcceleratorTypes.
Protobuf type google.cloud.tpu.v2alpha1.ListAcceleratorTypesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListAcceleratorTypesResponse.BuilderImplements
ListAcceleratorTypesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAcceleratorTypes(AcceleratorType value)
public ListAcceleratorTypesResponse.Builder addAcceleratorTypes(AcceleratorType value)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
value |
AcceleratorType |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addAcceleratorTypes(AcceleratorType.Builder builderForValue)
public ListAcceleratorTypesResponse.Builder addAcceleratorTypes(AcceleratorType.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
AcceleratorType.Builder |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addAcceleratorTypes(int index, AcceleratorType value)
public ListAcceleratorTypesResponse.Builder addAcceleratorTypes(int index, AcceleratorType value)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AcceleratorType |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
public ListAcceleratorTypesResponse.Builder addAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AcceleratorType.Builder |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addAcceleratorTypesBuilder()
public AcceleratorType.Builder addAcceleratorTypesBuilder()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
AcceleratorType.Builder |
addAcceleratorTypesBuilder(int index)
public AcceleratorType.Builder addAcceleratorTypesBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AcceleratorType.Builder |
addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)
public ListAcceleratorTypesResponse.Builder addAllAcceleratorTypes(Iterable<? extends AcceleratorType> values)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.tpu.v2alpha1.AcceleratorType> |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListAcceleratorTypesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAcceleratorTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
addUnreachable(String value)
public ListAcceleratorTypesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListAcceleratorTypesResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
build()
public ListAcceleratorTypesResponse build()
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse |
buildPartial()
public ListAcceleratorTypesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse |
clear()
public ListAcceleratorTypesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
clearAcceleratorTypes()
public ListAcceleratorTypesResponse.Builder clearAcceleratorTypes()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListAcceleratorTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
clearNextPageToken()
public ListAcceleratorTypesResponse.Builder clearNextPageToken()
The next page token or empty if none.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAcceleratorTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
clearUnreachable()
public ListAcceleratorTypesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
clone()
public ListAcceleratorTypesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
getAcceleratorTypes(int index)
public AcceleratorType getAcceleratorTypes(int index)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AcceleratorType |
getAcceleratorTypesBuilder(int index)
public AcceleratorType.Builder getAcceleratorTypesBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AcceleratorType.Builder |
getAcceleratorTypesBuilderList()
public List<AcceleratorType.Builder> getAcceleratorTypesBuilderList()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAcceleratorTypesCount()
public int getAcceleratorTypesCount()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
int |
getAcceleratorTypesList()
public List<AcceleratorType> getAcceleratorTypesList()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
List<AcceleratorType> |
getAcceleratorTypesOrBuilder(int index)
public AcceleratorTypeOrBuilder getAcceleratorTypesOrBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AcceleratorTypeOrBuilder |
getAcceleratorTypesOrBuilderList()
public List<? extends AcceleratorTypeOrBuilder> getAcceleratorTypesOrBuilderList()
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.tpu.v2alpha1.AcceleratorTypeOrBuilder> |
getDefaultInstanceForType()
public ListAcceleratorTypesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
The next page token or empty if none.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The next page token or empty if none.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListAcceleratorTypesResponse other)
public ListAcceleratorTypesResponse.Builder mergeFrom(ListAcceleratorTypesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListAcceleratorTypesResponse |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAcceleratorTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListAcceleratorTypesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAcceleratorTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
removeAcceleratorTypes(int index)
public ListAcceleratorTypesResponse.Builder removeAcceleratorTypes(int index)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setAcceleratorTypes(int index, AcceleratorType value)
public ListAcceleratorTypesResponse.Builder setAcceleratorTypes(int index, AcceleratorType value)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AcceleratorType |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
public ListAcceleratorTypesResponse.Builder setAcceleratorTypes(int index, AcceleratorType.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v2alpha1.AcceleratorType accelerator_types = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AcceleratorType.Builder |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListAcceleratorTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setNextPageToken(String value)
public ListAcceleratorTypesResponse.Builder setNextPageToken(String value)
The next page token or empty if none.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAcceleratorTypesResponse.Builder setNextPageTokenBytes(ByteString value)
The next page token or empty if none.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAcceleratorTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAcceleratorTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
setUnreachable(int index, String value)
public ListAcceleratorTypesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListAcceleratorTypesResponse.Builder |
This builder for chaining. |