Class ListBoundMembershipsResponse (1.85.0)

public final class ListBoundMembershipsResponse extends GeneratedMessage implements ListBoundMembershipsResponseOrBuilder

List of Memberships bound to a Scope.

Protobuf type google.cloud.gkehub.v1.ListBoundMembershipsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ListBoundMembershipsResponse

Static Fields

MEMBERSHIPS_FIELD_NUMBER

public static final int MEMBERSHIPS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListBoundMembershipsResponse getDefaultInstance()
Returns
Type Description
ListBoundMembershipsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBoundMembershipsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListBoundMembershipsResponse getDefaultInstanceForType()
Returns
Type Description
ListBoundMembershipsResponse

getMemberships(int index)

public Membership getMemberships(int index)

The list of Memberships bound to the given Scope.

repeated .google.cloud.gkehub.v1.Membership memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
Membership

getMembershipsCount()

public int getMembershipsCount()

The list of Memberships bound to the given Scope.

repeated .google.cloud.gkehub.v1.Membership memberships = 1;

Returns
Type Description
int

getMembershipsList()

public List<Membership> getMembershipsList()

The list of Memberships bound to the given Scope.

repeated .google.cloud.gkehub.v1.Membership memberships = 1;

Returns
Type Description
List<Membership>

getMembershipsOrBuilder(int index)

public MembershipOrBuilder getMembershipsOrBuilder(int index)

The list of Memberships bound to the given Scope.

repeated .google.cloud.gkehub.v1.Membership memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipOrBuilder

getMembershipsOrBuilderList()

public List<? extends MembershipOrBuilder> getMembershipsOrBuilderList()

The list of Memberships bound to the given Scope.

repeated .google.cloud.gkehub.v1.Membership memberships = 1;

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

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnreachable(int index)

public String getUnreachable(int index)

List of locations that could not be reached while fetching this list.

repeated string unreachable = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

List of locations that could not be reached while fetching this list.

repeated string unreachable = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

List of locations that could not be reached while fetching this list.

repeated string unreachable = 2;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

List of locations that could not be reached while fetching this list.

repeated string unreachable = 2;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

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 ListBoundMembershipsResponse.Builder newBuilderForType()
Returns
Type Description
ListBoundMembershipsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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