Interface ListMembershipsResponseOrBuilder (1.34.0)

public interface ListMembershipsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getResources(int index)

public abstract Membership getResources(int index)

The list of matching Memberships.

repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Membership

getResourcesCount()

public abstract int getResourcesCount()

The list of matching Memberships.

repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;

Returns
TypeDescription
int

getResourcesList()

public abstract List<Membership> getResourcesList()

The list of matching Memberships.

repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;

Returns
TypeDescription
List<Membership>

getResourcesOrBuilder(int index)

public abstract MembershipOrBuilder getResourcesOrBuilder(int index)

The list of matching Memberships.

repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MembershipOrBuilder

getResourcesOrBuilderList()

public abstract List<? extends MembershipOrBuilder> getResourcesOrBuilderList()

The list of matching Memberships.

repeated .google.cloud.gkehub.v1alpha2.Membership resources = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkehub.v1alpha2.MembershipOrBuilder>

getUnreachable(int index)

public abstract String getUnreachable(int index)

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

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

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

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

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

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

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

repeated string unreachable = 3;

Returns
TypeDescription
List<String>

A list containing the unreachable.