Class ListSecretVersionsResponse (2.34.0)

public final class ListSecretVersionsResponse extends GeneratedMessageV3 implements ListSecretVersionsResponseOrBuilder

Response message for SecretManagerService.ListSecretVersions.

Protobuf type google.cloud.secrets.v1beta1.ListSecretVersionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_SIZE_FIELD_NUMBER

public static final int TOTAL_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSIONS_FIELD_NUMBER

public static final int VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSecretVersionsResponse getDefaultInstance()
Returns
TypeDescription
ListSecretVersionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSecretVersionsResponse.Builder newBuilder()
Returns
TypeDescription
ListSecretVersionsResponse.Builder

newBuilder(ListSecretVersionsResponse prototype)

public static ListSecretVersionsResponse.Builder newBuilder(ListSecretVersionsResponse prototype)
Parameter
NameDescription
prototypeListSecretVersionsResponse
Returns
TypeDescription
ListSecretVersionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSecretVersionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSecretVersionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSecretVersionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSecretVersionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSecretVersionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSecretVersionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSecretVersionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSecretVersionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSecretVersionsResponse> parser()
Returns
TypeDescription
Parser<ListSecretVersionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSecretVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSecretVersionsResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSecretVersionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSecretVersionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalSize()

public int getTotalSize()

The total number of SecretVersions.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersions(int index)

public SecretVersion getVersions(int index)

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

repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecretVersion

getVersionsCount()

public int getVersionsCount()

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

repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;

Returns
TypeDescription
int

getVersionsList()

public List<SecretVersion> getVersionsList()

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

repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;

Returns
TypeDescription
List<SecretVersion>

getVersionsOrBuilder(int index)

public SecretVersionOrBuilder getVersionsOrBuilder(int index)

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

repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecretVersionOrBuilder

getVersionsOrBuilderList()

public List<? extends SecretVersionOrBuilder> getVersionsOrBuilderList()

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

repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;

Returns
TypeDescription
List<? extends com.google.cloud.secretmanager.v1beta1.SecretVersionOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSecretVersionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSecretVersionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSecretVersionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSecretVersionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSecretVersionsResponse.Builder toBuilder()
Returns
TypeDescription
ListSecretVersionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException