Class ListUsableSubnetworksResponse (2.47.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
Type Description
int

SUBNETWORKS_FIELD_NUMBER

public static final int SUBNETWORKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListUsableSubnetworksResponse getDefaultInstance()
Returns
Type Description
ListUsableSubnetworksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListUsableSubnetworksResponse.Builder newBuilder()
Returns
Type Description
ListUsableSubnetworksResponse.Builder

newBuilder(ListUsableSubnetworksResponse prototype)

public static ListUsableSubnetworksResponse.Builder newBuilder(ListUsableSubnetworksResponse prototype)
Parameter
Name Description
prototype ListUsableSubnetworksResponse
Returns
Type Description
ListUsableSubnetworksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListUsableSubnetworksResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListUsableSubnetworksResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListUsableSubnetworksResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListUsableSubnetworksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUsableSubnetworksResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListUsableSubnetworksResponse> parser()
Returns
Type Description
Parser<ListUsableSubnetworksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListUsableSubnetworksResponse getDefaultInstanceForType()
Returns
Type Description
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
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
Type Description
Parser<ListUsableSubnetworksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
UsableSubnetwork

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListUsableSubnetworksResponse.Builder newBuilderForType()
Returns
Type Description
ListUsableSubnetworksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListUsableSubnetworksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListUsableSubnetworksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListUsableSubnetworksResponse.Builder toBuilder()
Returns
Type Description
ListUsableSubnetworksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException