public static final class ListSecretsResponse.Builder extends GeneratedMessageV3.Builder<ListSecretsResponse.Builder> implements ListSecretsResponseOrBuilder
Response message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets].Protobuf type
google.cloud.secretmanager.v1.ListSecretsResponse
Modifier and Type | Method and Description |
---|---|
ListSecretsResponse.Builder |
addAllSecrets(Iterable<? extends Secret> values)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListSecretsResponse.Builder |
addSecrets(int index,
Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
addSecrets(int index,
Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
addSecrets(Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
addSecrets(Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
Secret.Builder |
addSecretsBuilder()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
Secret.Builder |
addSecretsBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse |
build() |
ListSecretsResponse |
buildPartial() |
ListSecretsResponse.Builder |
clear() |
ListSecretsResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListSecretsResponse.Builder |
clearNextPageToken()
A token to retrieve the next page of results.
|
ListSecretsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListSecretsResponse.Builder |
clearSecrets()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
clearTotalSize()
The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
|
ListSecretsResponse.Builder |
clone() |
ListSecretsResponse |
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.
|
Secret |
getSecrets(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
Secret.Builder |
getSecretsBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
List<Secret.Builder> |
getSecretsBuilderList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
int |
getSecretsCount()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
List<Secret> |
getSecretsList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
SecretOrBuilder |
getSecretsOrBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
List<? extends SecretOrBuilder> |
getSecretsOrBuilderList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
int |
getTotalSize()
The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSecretsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListSecretsResponse.Builder |
mergeFrom(ListSecretsResponse other) |
ListSecretsResponse.Builder |
mergeFrom(Message other) |
ListSecretsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListSecretsResponse.Builder |
removeSecrets(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListSecretsResponse.Builder |
setNextPageToken(String value)
A token to retrieve the next page of results.
|
ListSecretsResponse.Builder |
setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results.
|
ListSecretsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSecretsResponse.Builder |
setSecrets(int index,
Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
setSecrets(int index,
Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest
first).
|
ListSecretsResponse.Builder |
setTotalSize(int value)
The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
|
ListSecretsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
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<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListSecretsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListSecretsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListSecretsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder mergeFrom(ListSecretsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public ListSecretsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListSecretsResponse.Builder>
IOException
public List<Secret> getSecretsList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
getSecretsList
in interface ListSecretsResponseOrBuilder
public int getSecretsCount()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
getSecretsCount
in interface ListSecretsResponseOrBuilder
public Secret getSecrets(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
getSecrets
in interface ListSecretsResponseOrBuilder
public ListSecretsResponse.Builder setSecrets(int index, Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder setSecrets(int index, Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder addSecrets(Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder addSecrets(int index, Secret value)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder addSecrets(Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder addSecrets(int index, Secret.Builder builderForValue)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder addAllSecrets(Iterable<? extends Secret> values)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder clearSecrets()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public ListSecretsResponse.Builder removeSecrets(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public Secret.Builder getSecretsBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public SecretOrBuilder getSecretsOrBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
getSecretsOrBuilder
in interface ListSecretsResponseOrBuilder
public List<? extends SecretOrBuilder> getSecretsOrBuilderList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
getSecretsOrBuilderList
in interface ListSecretsResponseOrBuilder
public Secret.Builder addSecretsBuilder()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public Secret.Builder addSecretsBuilder(int index)
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public List<Secret.Builder> getSecretsBuilderList()
The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).
repeated .google.cloud.secretmanager.v1.Secret secrets = 1;
public String getNextPageToken()
A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
getNextPageToken
in interface ListSecretsResponseOrBuilder
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListSecretsResponseOrBuilder
public ListSecretsResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
value
- The nextPageToken to set.public ListSecretsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.page_token] to retrieve the next page.
string next_page_token = 2;
public ListSecretsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results. Pass this value in [ListSecretsRequest.page_token][google.cloud.secretmanager.v1.ListSecretsRequest.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 [Secrets][google.cloud.secretmanager.v1.Secret].
int32 total_size = 3;
getTotalSize
in interface ListSecretsResponseOrBuilder
public ListSecretsResponse.Builder setTotalSize(int value)
The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
int32 total_size = 3;
value
- The totalSize to set.public ListSecretsResponse.Builder clearTotalSize()
The total number of [Secrets][google.cloud.secretmanager.v1.Secret].
int32 total_size = 3;
public final ListSecretsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
public final ListSecretsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListSecretsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.