Class ListScopesResponse (1.85.0)

public final class ListScopesResponse extends GeneratedMessage implements ListScopesResponseOrBuilder

List of Scopes.

Protobuf type google.cloud.gkehub.v1.ListScopesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SCOPES_FIELD_NUMBER

public static final int SCOPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListScopesResponse getDefaultInstance()
Returns
Type Description
ListScopesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListScopesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListScopesResponse getDefaultInstanceForType()
Returns
Type Description
ListScopesResponse

getNextPageToken()

public String getNextPageToken()

A token to request the next page of resources from the ListScopes method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to request the next page of resources from the ListScopes method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListScopesResponse> getParserForType()
Returns
Type Description
Parser<ListScopesResponse>
Overrides

getScopes(int index)

public Scope getScopes(int index)

The list of Scopes

repeated .google.cloud.gkehub.v1.Scope scopes = 1;

Parameter
Name Description
index int
Returns
Type Description
Scope

getScopesCount()

public int getScopesCount()

The list of Scopes

repeated .google.cloud.gkehub.v1.Scope scopes = 1;

Returns
Type Description
int

getScopesList()

public List<Scope> getScopesList()

The list of Scopes

repeated .google.cloud.gkehub.v1.Scope scopes = 1;

Returns
Type Description
List<Scope>

getScopesOrBuilder(int index)

public ScopeOrBuilder getScopesOrBuilder(int index)

The list of Scopes

repeated .google.cloud.gkehub.v1.Scope scopes = 1;

Parameter
Name Description
index int
Returns
Type Description
ScopeOrBuilder

getScopesOrBuilderList()

public List<? extends ScopeOrBuilder> getScopesOrBuilderList()

The list of Scopes

repeated .google.cloud.gkehub.v1.Scope scopes = 1;

Returns
Type Description
List<? extends com.google.cloud.gkehub.v1.ScopeOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListScopesResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListScopesResponse.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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