- 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 ListNodesResponse.Builder extends GeneratedMessageV3.Builder<ListNodesResponse.Builder> implements ListNodesResponseOrBuilder
Response for ListNodes.
Protobuf type google.cloud.tpu.v1.ListNodesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListNodesResponse.BuilderImplements
ListNodesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllNodes(Iterable<? extends Node> values)
public ListNodesResponse.Builder addAllNodes(Iterable<? extends Node> values)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.tpu.v1.Node> |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |
addNodes(Node value)
public ListNodesResponse.Builder addNodes(Node value)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
value |
Node |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addNodes(Node.Builder builderForValue)
public ListNodesResponse.Builder addNodes(Node.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Node.Builder |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addNodes(int index, Node value)
public ListNodesResponse.Builder addNodes(int index, Node value)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Node |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addNodes(int index, Node.Builder builderForValue)
public ListNodesResponse.Builder addNodes(int index, Node.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Node.Builder |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addNodesBuilder()
public Node.Builder addNodesBuilder()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
Node.Builder |
addNodesBuilder(int index)
public Node.Builder addNodesBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Node.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNodesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
addUnreachable(String value)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |
build()
public ListNodesResponse build()
Returns | |
---|---|
Type | Description |
ListNodesResponse |
buildPartial()
public ListNodesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListNodesResponse |
clear()
public ListNodesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListNodesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
clearNextPageToken()
public ListNodesResponse.Builder clearNextPageToken()
The next page token or empty if none.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
This builder for chaining. |
clearNodes()
public ListNodesResponse.Builder clearNodes()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNodesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
clearUnreachable()
public ListNodesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
This builder for chaining. |
clone()
public ListNodesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
getDefaultInstanceForType()
public ListNodesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListNodesResponse |
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. |
getNodes(int index)
public Node getNodes(int index)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Node |
getNodesBuilder(int index)
public Node.Builder getNodesBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Node.Builder |
getNodesBuilderList()
public List<Node.Builder> getNodesBuilderList()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getNodesCount()
public int getNodesCount()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
int |
getNodesList()
public List<Node> getNodesList()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
List<Node> |
getNodesOrBuilder(int index)
public NodeOrBuilder getNodesOrBuilder(int index)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NodeOrBuilder |
getNodesOrBuilderList()
public List<? extends NodeOrBuilder> getNodesOrBuilderList()
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.tpu.v1.NodeOrBuilder> |
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(ListNodesResponse other)
public ListNodesResponse.Builder mergeFrom(ListNodesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListNodesResponse |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNodesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListNodesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNodesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
removeNodes(int index)
public ListNodesResponse.Builder removeNodes(int index)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListNodesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setNextPageToken(String value)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |
setNodes(int index, Node value)
public ListNodesResponse.Builder setNodes(int index, Node value)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Node |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setNodes(int index, Node.Builder builderForValue)
public ListNodesResponse.Builder setNodes(int index, Node.Builder builderForValue)
The listed nodes.
repeated .google.cloud.tpu.v1.Node nodes = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Node.Builder |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNodesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNodesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListNodesResponse.Builder |
setUnreachable(int index, String value)
public ListNodesResponse.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 |
ListNodesResponse.Builder |
This builder for chaining. |