public static final class ListUsableSubnetworksResponse.Builder extends GeneratedMessageV3.Builder<ListUsableSubnetworksResponse.Builder> implements ListUsableSubnetworksResponseOrBuilder
ListUsableSubnetworksResponse is the response of
ListUsableSubnetworksRequest.
Protobuf type google.container.v1beta1.ListUsableSubnetworksResponse
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
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.container.v1beta1.UsableSubnetwork>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUsableSubnetworksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSubnetworks(UsableSubnetwork value)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork value)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
addSubnetworks(UsableSubnetwork.Builder builderForValue)
public ListUsableSubnetworksResponse.Builder addSubnetworks(UsableSubnetwork.Builder builderForValue)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameters
Returns
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameters
Returns
addSubnetworksBuilder()
public UsableSubnetwork.Builder addSubnetworksBuilder()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
addSubnetworksBuilder(int index)
public UsableSubnetwork.Builder addSubnetworksBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
build()
public ListUsableSubnetworksResponse build()
Returns
buildPartial()
public ListUsableSubnetworksResponse buildPartial()
Returns
clear()
public ListUsableSubnetworksResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListUsableSubnetworksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUsableSubnetworksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubnetworks()
public ListUsableSubnetworksResponse.Builder clearSubnetworks()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
clone()
public ListUsableSubnetworksResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListUsableSubnetworksResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
getSubnetworksBuilder(int index)
public UsableSubnetwork.Builder getSubnetworksBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
getSubnetworksBuilderList()
public List<UsableSubnetwork.Builder> getSubnetworksBuilderList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
getSubnetworksCount()
public int getSubnetworksCount()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
getSubnetworksList()
public List<UsableSubnetwork> getSubnetworksList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
getSubnetworksOrBuilder(int index)
public UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
getSubnetworksOrBuilderList()
public List<? extends UsableSubnetworkOrBuilder> getSubnetworksOrBuilderList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Returns
Type | Description |
List<? extends com.google.container.v1beta1.UsableSubnetworkOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListUsableSubnetworksResponse other)
public ListUsableSubnetworksResponse.Builder mergeFrom(ListUsableSubnetworksResponse other)
Parameter
Returns
public ListUsableSubnetworksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListUsableSubnetworksResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUsableSubnetworksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSubnetworks(int index)
public ListUsableSubnetworksResponse.Builder removeSubnetworks(int index)
A list of usable subnetworks in the specified network project.
repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListUsableSubnetworksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The nextPageToken to set.
|
Returns
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 | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListUsableSubnetworksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameters
Returns
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.v1beta1.UsableSubnetwork subnetworks = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUsableSubnetworksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides