Class ListAttachedClustersResponse (0.12.0)

public final class ListAttachedClustersResponse extends GeneratedMessageV3 implements ListAttachedClustersResponseOrBuilder

Response message for AttachedClusters.ListAttachedClusters method.

Protobuf type google.cloud.gkemulticloud.v1.ListAttachedClustersResponse

Static Fields

ATTACHED_CLUSTERS_FIELD_NUMBER

public static final int ATTACHED_CLUSTERS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAttachedClustersResponse getDefaultInstance()
Returns
TypeDescription
ListAttachedClustersResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListAttachedClustersResponse prototype)

public static ListAttachedClustersResponse.Builder newBuilder(ListAttachedClustersResponse prototype)
Parameter
NameDescription
prototypeListAttachedClustersResponse
Returns
TypeDescription
ListAttachedClustersResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAttachedClusters(int index)

public AttachedCluster getAttachedClusters(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AttachedCluster

getAttachedClustersCount()

public int getAttachedClustersCount()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
TypeDescription
int

getAttachedClustersList()

public List<AttachedCluster> getAttachedClustersList()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
TypeDescription
List<AttachedCluster>

getAttachedClustersOrBuilder(int index)

public AttachedClusterOrBuilder getAttachedClustersOrBuilder(int index)

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AttachedClusterOrBuilder

getAttachedClustersOrBuilderList()

public List<? extends AttachedClusterOrBuilder> getAttachedClustersOrBuilderList()

A list of AttachedCluster resources in the specified Google Cloud Platform project and region region.

repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>

getDefaultInstanceForType()

public ListAttachedClustersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAttachedClustersResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ListAttachedClustersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAttachedClustersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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