public static final class ListUsableSubnetworksResponse.Builder extends GeneratedMessage.Builder<ListUsableSubnetworksResponse.Builder> implements ListUsableSubnetworksResponseOrBuilderListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
Protobuf type google.container.v1.ListUsableSubnetworksResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListUsableSubnetworksResponse.BuilderImplements
ListUsableSubnetworksResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSubnetworks(Iterable<? extends UsableSubnetwork> values)
public ListUsableSubnetworksResponse.Builder addAllSubnetworks(Iterable<? extends UsableSubnetwork> values)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.container.v1.UsableSubnetwork> |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
addSubnetworks(UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork value)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
UsableSubnetwork |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
addSubnetworks(UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork.Builder builderForValue)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UsableSubnetwork.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
addSubnetworks(int index, UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder addSubnetworks(int index, UsableSubnetwork value)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UsableSubnetwork |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
addSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder addSubnetworks(int index, UsableSubnetwork.Builder builderForValue)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UsableSubnetwork.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
addSubnetworksBuilder()
public UsableSubnetwork.Builder addSubnetworksBuilder()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
addSubnetworksBuilder(int index)
public UsableSubnetwork.Builder addSubnetworksBuilder(int index)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
build()
public ListUsableSubnetworksResponse build()| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse |
|
buildPartial()
public ListUsableSubnetworksResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse |
|
clear()
public ListUsableSubnetworksResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
clearNextPageToken()
public ListUsableSubnetworksResponse.Builder clearNextPageToken() This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size, use the
next_page_token as a value for the query parameter page_token in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
This builder for chaining. |
clearSubnetworks()
public ListUsableSubnetworksResponse.Builder clearSubnetworks()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
getDefaultInstanceForType()
public ListUsableSubnetworksResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size, use the
next_page_token as a value for the query parameter page_token in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size, use the
next_page_token as a value for the query parameter page_token in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getSubnetworks(int index)
public UsableSubnetwork getSubnetworks(int index)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork |
|
getSubnetworksBuilder(int index)
public UsableSubnetwork.Builder getSubnetworksBuilder(int index)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetwork.Builder |
|
getSubnetworksBuilderList()
public List<UsableSubnetwork.Builder> getSubnetworksBuilderList()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSubnetworksCount()
public int getSubnetworksCount()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSubnetworksList()
public List<UsableSubnetwork> getSubnetworksList()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
List<UsableSubnetwork> |
|
getSubnetworksOrBuilder(int index)
public UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UsableSubnetworkOrBuilder |
|
getSubnetworksOrBuilderList()
public List<? extends UsableSubnetworkOrBuilder> getSubnetworksOrBuilderList()A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.container.v1.UsableSubnetworkOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListUsableSubnetworksResponse other)
public ListUsableSubnetworksResponse.Builder mergeFrom(ListUsableSubnetworksResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListUsableSubnetworksResponse |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListUsableSubnetworksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListUsableSubnetworksResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
removeSubnetworks(int index)
public ListUsableSubnetworksResponse.Builder removeSubnetworks(int index)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
setNextPageToken(String value)
public ListUsableSubnetworksResponse.Builder setNextPageToken(String value) This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size, use the
next_page_token as a value for the query parameter page_token in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListUsableSubnetworksResponse.Builder setNextPageTokenBytes(ByteString value) This token allows you to get the next page of results for list requests.
If the number of results is larger than page_size, use the
next_page_token as a value for the query parameter page_token in the
next request. The value will become empty when there are no more pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
This builder for chaining. |
setSubnetworks(int index, UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder setSubnetworks(int index, UsableSubnetwork value)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UsableSubnetwork |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|
setSubnetworks(int index, UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder setSubnetworks(int index, UsableSubnetwork.Builder builderForValue)A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UsableSubnetwork.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUsableSubnetworksResponse.Builder |
|