Interface ListSecretVersionsResponseOrBuilder (2.53.0)

public interface ListSecretVersionsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token to retrieve the next page of results. Pass this value in ListSecretVersionsRequest.page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass this value in ListSecretVersionsRequest.page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

The total number of SecretVersions but 0 when the ListSecretsRequest.filter field is set.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

getVersions(int index)

public abstract SecretVersion getVersions(int index)

The list of SecretVersions sorted in reverse by create_time (newest first).

repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;

Parameter
Name Description
index int
Returns
Type Description
SecretVersion

getVersionsCount()

public abstract int getVersionsCount()

The list of SecretVersions sorted in reverse by create_time (newest first).

repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;

Returns
Type Description
int

getVersionsList()

public abstract List<SecretVersion> getVersionsList()

The list of SecretVersions sorted in reverse by create_time (newest first).

repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;

Returns
Type Description
List<SecretVersion>

getVersionsOrBuilder(int index)

public abstract SecretVersionOrBuilder getVersionsOrBuilder(int index)

The list of SecretVersions sorted in reverse by create_time (newest first).

repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;

Parameter
Name Description
index int
Returns
Type Description
SecretVersionOrBuilder

getVersionsOrBuilderList()

public abstract List<? extends SecretVersionOrBuilder> getVersionsOrBuilderList()

The list of SecretVersions sorted in reverse by create_time (newest first).

repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;

Returns
Type Description
List<? extends com.google.cloud.secretmanager.v1beta2.SecretVersionOrBuilder>