public final class ListSecretVersionsResponse extends GeneratedMessageV3 implements ListSecretVersionsResponseOrBuilder
Response message for SecretManagerService.ListSecretVersions.
Protobuf type google.cloud.secretmanager.v1.ListSecretVersionsResponse
Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TOTAL_SIZE_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ListSecretVersionsResponse getDefaultInstance()
Returns
getDefaultInstanceForType()
public ListSecretVersionsResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getNextPageToken()
public 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 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.
|
getParserForType()
public Parser<ListSecretVersionsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTotalSize()
public int getTotalSize()
The total number of SecretVersions.
int32 total_size = 3;
Returns
Type | Description |
int | The totalSize.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersions(int index)
public SecretVersion getVersions(int index)
The list of SecretVersions sorted in reverse by
create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
Parameter
Returns
getVersionsCount()
public int getVersionsCount()
The list of SecretVersions sorted in reverse by
create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
Returns
getVersionsList()
public List<SecretVersion> getVersionsList()
The list of SecretVersions sorted in reverse by
create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
Returns
getVersionsOrBuilder(int index)
public SecretVersionOrBuilder getVersionsOrBuilder(int index)
The list of SecretVersions sorted in reverse by
create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
Parameter
Returns
getVersionsOrBuilderList()
public List<? extends SecretVersionOrBuilder> getVersionsOrBuilderList()
The list of SecretVersions sorted in reverse by
create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.secretmanager.v1.SecretVersionOrBuilder> | |
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ListSecretVersionsResponse.Builder newBuilder()
Returns
newBuilder(ListSecretVersionsResponse prototype)
public static ListSecretVersionsResponse.Builder newBuilder(ListSecretVersionsResponse prototype)
Parameter
Returns
newBuilderForType()
public ListSecretVersionsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSecretVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ListSecretVersionsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSecretVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListSecretVersionsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSecretVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListSecretVersionsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSecretVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSecretVersionsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListSecretVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListSecretVersionsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListSecretVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListSecretVersionsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSecretVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListSecretVersionsResponse> parser()
Returns
toBuilder()
public ListSecretVersionsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions