public static final class ListSecretVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder> implements ListSecretVersionsResponseOrBuilder
Response message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions].Protobuf type
google.cloud.secretmanager.v1.ListSecretVersionsResponse
Modifier and Type | Method and Description |
---|---|
ListSecretVersionsResponse.Builder |
addAllVersions(Iterable<? extends SecretVersion> values)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListSecretVersionsResponse.Builder |
addVersions(int index,
SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
addVersions(int index,
SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
addVersions(SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
addVersions(SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
SecretVersion.Builder |
addVersionsBuilder()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
SecretVersion.Builder |
addVersionsBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse |
build() |
ListSecretVersionsResponse |
buildPartial() |
ListSecretVersionsResponse.Builder |
clear() |
ListSecretVersionsResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListSecretVersionsResponse.Builder |
clearNextPageToken()
A token to retrieve the next page of results.
|
ListSecretVersionsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListSecretVersionsResponse.Builder |
clearTotalSize()
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
|
ListSecretVersionsResponse.Builder |
clearVersions()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
clone() |
ListSecretVersionsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token to retrieve the next page of results.
|
ByteString |
getNextPageTokenBytes()
A token to retrieve the next page of results.
|
int |
getTotalSize()
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
|
SecretVersion |
getVersions(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
SecretVersion.Builder |
getVersionsBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
List<SecretVersion.Builder> |
getVersionsBuilderList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
int |
getVersionsCount()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
List<SecretVersion> |
getVersionsList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
SecretVersionOrBuilder |
getVersionsOrBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
List<? extends SecretVersionOrBuilder> |
getVersionsOrBuilderList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSecretVersionsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListSecretVersionsResponse.Builder |
mergeFrom(ListSecretVersionsResponse other) |
ListSecretVersionsResponse.Builder |
mergeFrom(Message other) |
ListSecretVersionsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListSecretVersionsResponse.Builder |
removeVersions(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListSecretVersionsResponse.Builder |
setNextPageToken(String value)
A token to retrieve the next page of results.
|
ListSecretVersionsResponse.Builder |
setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
|
ListSecretVersionsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSecretVersionsResponse.Builder |
setTotalSize(int value)
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
|
ListSecretVersionsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ListSecretVersionsResponse.Builder |
setVersions(int index,
SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
ListSecretVersionsResponse.Builder |
setVersions(int index,
SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by
create_time (newest first).
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListSecretVersionsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListSecretVersionsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListSecretVersionsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder mergeFrom(ListSecretVersionsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public ListSecretVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListSecretVersionsResponse.Builder>
IOException
public List<SecretVersion> getVersionsList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
getVersionsList
in interface ListSecretVersionsResponseOrBuilder
public int getVersionsCount()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
getVersionsCount
in interface ListSecretVersionsResponseOrBuilder
public SecretVersion getVersions(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
getVersions
in interface ListSecretVersionsResponseOrBuilder
public ListSecretVersionsResponse.Builder setVersions(int index, SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder setVersions(int index, SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder addVersions(SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder addVersions(int index, SecretVersion value)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder addVersions(SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder addVersions(int index, SecretVersion.Builder builderForValue)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder addAllVersions(Iterable<? extends SecretVersion> values)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder clearVersions()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public ListSecretVersionsResponse.Builder removeVersions(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public SecretVersion.Builder getVersionsBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public SecretVersionOrBuilder getVersionsOrBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
getVersionsOrBuilder
in interface ListSecretVersionsResponseOrBuilder
public List<? extends SecretVersionOrBuilder> getVersionsOrBuilderList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
getVersionsOrBuilderList
in interface ListSecretVersionsResponseOrBuilder
public SecretVersion.Builder addVersionsBuilder()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public SecretVersion.Builder addVersionsBuilder(int index)
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public List<SecretVersion.Builder> getVersionsBuilderList()
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.SecretVersion versions = 1;
public String getNextPageToken()
A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
getNextPageToken
in interface ListSecretVersionsResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListSecretVersionsResponseOrBuilder
public ListSecretVersionsResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
value
- The nextPageToken to set.public ListSecretVersionsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
public ListSecretVersionsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public int getTotalSize()
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
int32 total_size = 3;
getTotalSize
in interface ListSecretVersionsResponseOrBuilder
public ListSecretVersionsResponse.Builder setTotalSize(int value)
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
int32 total_size = 3;
value
- The totalSize to set.public ListSecretVersionsResponse.Builder clearTotalSize()
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
int32 total_size = 3;
public final ListSecretVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
public final ListSecretVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListSecretVersionsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.