public final class ListUsableSubnetworksResponse extends GeneratedMessageV3 implements ListUsableSubnetworksResponseOrBuilder
ListUsableSubnetworksResponse is the response of
ListUsableSubnetworksRequest.
Protobuf type google.container.v1.ListUsableSubnetworksResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
SUBNETWORKS_FIELD_NUMBER
public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListUsableSubnetworksResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListUsableSubnetworksResponse.Builder newBuilder()
Returns
newBuilder(ListUsableSubnetworksResponse prototype)
public static ListUsableSubnetworksResponse.Builder newBuilder(ListUsableSubnetworksResponse prototype)
Parameter
Returns
public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListUsableSubnetworksResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListUsableSubnetworksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListUsableSubnetworksResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListUsableSubnetworksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListUsableSubnetworksResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListUsableSubnetworksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListUsableSubnetworksResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListUsableSubnetworksResponse getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ListUsableSubnetworksResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
Returns
getSubnetworksCount()
public int getSubnetworksCount()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.UsableSubnetwork subnetworks = 1;
Returns
getSubnetworksList()
public List<UsableSubnetwork> getSubnetworksList()
A list of usable subnetworks in the specified network project.
repeated .google.container.v1.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.v1.UsableSubnetwork subnetworks = 1;
Parameter
Returns
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListUsableSubnetworksResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListUsableSubnetworksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListUsableSubnetworksResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions