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