Interface ListSecretsResponseOrBuilder (2.43.0)

public interface ListSecretsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token to retrieve the next page of results. Pass this value in ListSecretsRequest.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 ListSecretsRequest.page_token to retrieve the next page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSecrets(int index)

public abstract Secret getSecrets(int index)

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

repeated .google.cloud.secretmanager.v1beta2.Secret secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
Secret

getSecretsCount()

public abstract int getSecretsCount()

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

repeated .google.cloud.secretmanager.v1beta2.Secret secrets = 1;

Returns
Type Description
int

getSecretsList()

public abstract List<Secret> getSecretsList()

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

repeated .google.cloud.secretmanager.v1beta2.Secret secrets = 1;

Returns
Type Description
List<Secret>

getSecretsOrBuilder(int index)

public abstract SecretOrBuilder getSecretsOrBuilder(int index)

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

repeated .google.cloud.secretmanager.v1beta2.Secret secrets = 1;

Parameter
Name Description
index int
Returns
Type Description
SecretOrBuilder

getSecretsOrBuilderList()

public abstract List<? extends SecretOrBuilder> getSecretsOrBuilderList()

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

repeated .google.cloud.secretmanager.v1beta2.Secret secrets = 1;

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

getTotalSize()

public abstract int getTotalSize()

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

int32 total_size = 3;

Returns
Type Description
int

The totalSize.