public static final class ListSecretVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder> implements ListSecretVersionsResponseOrBuilder
Response message for
SecretManagerService.ListSecretVersions.
Protobuf type google.cloud.secretmanager.v1beta2.ListSecretVersionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllVersions(Iterable<? extends SecretVersion> values)
public ListSecretVersionsResponse.Builder addAllVersions(Iterable<? extends SecretVersion> values)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.secretmanager.v1beta2.SecretVersion>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSecretVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addVersions(SecretVersion value)
public ListSecretVersionsResponse.Builder addVersions(SecretVersion value)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
addVersions(SecretVersion.Builder builderForValue)
public ListSecretVersionsResponse.Builder addVersions(SecretVersion.Builder builderForValue)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
addVersions(int index, SecretVersion value)
public ListSecretVersionsResponse.Builder addVersions(int index, SecretVersion value)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
addVersions(int index, SecretVersion.Builder builderForValue)
public ListSecretVersionsResponse.Builder addVersions(int index, SecretVersion.Builder builderForValue)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
addVersionsBuilder()
public SecretVersion.Builder addVersionsBuilder()
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
addVersionsBuilder(int index)
public SecretVersion.Builder addVersionsBuilder(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
|
build()
public ListSecretVersionsResponse build()
buildPartial()
public ListSecretVersionsResponse buildPartial()
clear()
public ListSecretVersionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSecretVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSecretVersionsResponse.Builder clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSecretVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalSize()
public ListSecretVersionsResponse.Builder clearTotalSize()
The total number of
SecretVersions but 0
when the
ListSecretsRequest.filter
field is set.
int32 total_size = 3;
clearVersions()
public ListSecretVersionsResponse.Builder clearVersions()
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
clone()
public ListSecretVersionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSecretVersionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getTotalSize()
public 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 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
|
getVersionsBuilder(int index)
public SecretVersion.Builder getVersionsBuilder(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
|
getVersionsBuilderList()
public List<SecretVersion.Builder> getVersionsBuilderList()
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
getVersionsCount()
public 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 List<SecretVersion> getVersionsList()
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
getVersionsOrBuilder(int index)
public 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
|
getVersionsOrBuilderList()
public 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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSecretVersionsResponse other)
public ListSecretVersionsResponse.Builder mergeFrom(ListSecretVersionsResponse other)
public ListSecretVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSecretVersionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSecretVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeVersions(int index)
public ListSecretVersionsResponse.Builder removeVersions(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSecretVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSecretVersionsResponse.Builder setNextPageToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListSecretVersionsResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSecretVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTotalSize(int value)
public ListSecretVersionsResponse.Builder setTotalSize(int value)
The total number of
SecretVersions but 0
when the
ListSecretsRequest.filter
field is set.
int32 total_size = 3;
Parameter |
Name |
Description |
value |
int
The totalSize to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSecretVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVersions(int index, SecretVersion value)
public ListSecretVersionsResponse.Builder setVersions(int index, SecretVersion value)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;
setVersions(int index, SecretVersion.Builder builderForValue)
public ListSecretVersionsResponse.Builder setVersions(int index, SecretVersion.Builder builderForValue)
The list of
SecretVersions sorted
in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1beta2.SecretVersion versions = 1;