Class ListUsableSubnetworksResponse (2.31.0)

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
TypeDescription
int

SUBNETWORKS_FIELD_NUMBER

public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListUsableSubnetworksResponse getDefaultInstance()
Returns
TypeDescription
ListUsableSubnetworksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListUsableSubnetworksResponse.Builder newBuilder()
Returns
TypeDescription
ListUsableSubnetworksResponse.Builder

newBuilder(ListUsableSubnetworksResponse prototype)

public static ListUsableSubnetworksResponse.Builder newBuilder(ListUsableSubnetworksResponse prototype)
Parameter
NameDescription
prototypeListUsableSubnetworksResponse
Returns
TypeDescription
ListUsableSubnetworksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListUsableSubnetworksResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListUsableSubnetworksResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListUsableSubnetworksResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListUsableSubnetworksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListUsableSubnetworksResponse> parser()
Returns
TypeDescription
Parser<ListUsableSubnetworksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListUsableSubnetworksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListUsableSubnetworksResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListUsableSubnetworksResponse> getParserForType()
Returns
TypeDescription
Parser<ListUsableSubnetworksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
UsableSubnetwork

getSubnetworksCount()

public int getSubnetworksCount()

A list of usable subnetworks in the specified network project.

repeated .google.container.v1.UsableSubnetwork subnetworks = 1;

Returns
TypeDescription
int

getSubnetworksList()

public List<UsableSubnetwork> getSubnetworksList()

A list of usable subnetworks in the specified network project.

repeated .google.container.v1.UsableSubnetwork subnetworks = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.container.v1.UsableSubnetworkOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListUsableSubnetworksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListUsableSubnetworksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListUsableSubnetworksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListUsableSubnetworksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListUsableSubnetworksResponse.Builder toBuilder()
Returns
TypeDescription
ListUsableSubnetworksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException