Interface ListMembershipsResponseOrBuilder (1.51.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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getResources(int index)

public abstract Membership getResources(int index)

The list of matching Memberships.

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

Parameter
Name Description
index int
Returns
Type Description
Membership

getResourcesCount()

public abstract int getResourcesCount()

The list of matching Memberships.

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

Returns
Type Description
int

getResourcesList()

public abstract List<Membership> getResourcesList()

The list of matching Memberships.

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

Returns
Type Description
List<Membership>

getResourcesOrBuilder(int index)

public abstract MembershipOrBuilder getResourcesOrBuilder(int index)

The list of matching Memberships.

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

Parameter
Name Description
index int
Returns
Type Description
MembershipOrBuilder

getResourcesOrBuilderList()

public abstract List<? extends MembershipOrBuilder> getResourcesOrBuilderList()

The list of matching Memberships.

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

Returns
Type Description
List<? extends com.google.cloud.gkehub.v1beta1.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
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 abstract ByteString getUnreachableBytes(int index)

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

repeated string unreachable = 3;

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 abstract int getUnreachableCount()

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

repeated string unreachable = 3;

Returns
Type Description
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
Type Description
List<String>

A list containing the unreachable.