- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class SecretKeySelector.Builder extends GeneratedMessageV3.Builder<SecretKeySelector.Builder> implements SecretKeySelectorOrBuilder
SecretEnvVarSource represents a source for the value of an EnvVar.
Protobuf type google.cloud.run.v2.SecretKeySelector
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecretKeySelector.BuilderImplements
SecretKeySelectorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecretKeySelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SecretKeySelector.Builder |
build()
public SecretKeySelector build()
Type | Description |
SecretKeySelector |
buildPartial()
public SecretKeySelector buildPartial()
Type | Description |
SecretKeySelector |
clear()
public SecretKeySelector.Builder clear()
Type | Description |
SecretKeySelector.Builder |
clearField(Descriptors.FieldDescriptor field)
public SecretKeySelector.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SecretKeySelector.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SecretKeySelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SecretKeySelector.Builder |
clearSecret()
public SecretKeySelector.Builder clearSecret()
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |
clearVersion()
public SecretKeySelector.Builder clearVersion()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |
clone()
public SecretKeySelector.Builder clone()
Type | Description |
SecretKeySelector.Builder |
getDefaultInstanceForType()
public SecretKeySelector getDefaultInstanceForType()
Type | Description |
SecretKeySelector |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSecret()
public String getSecret()
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The secret. |
getSecretBytes()
public ByteString getSecretBytes()
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for secret. |
getVersion()
public String getVersion()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SecretKeySelector other)
public SecretKeySelector.Builder mergeFrom(SecretKeySelector other)
Name | Description |
other | SecretKeySelector |
Type | Description |
SecretKeySelector.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecretKeySelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SecretKeySelector.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SecretKeySelector.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SecretKeySelector.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecretKeySelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SecretKeySelector.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SecretKeySelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SecretKeySelector.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecretKeySelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SecretKeySelector.Builder |
setSecret(String value)
public SecretKeySelector.Builder setSecret(String value)
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The secret to set. |
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |
setSecretBytes(ByteString value)
public SecretKeySelector.Builder setSecretBytes(ByteString value)
Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for secret to set. |
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SecretKeySelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SecretKeySelector.Builder |
setVersion(String value)
public SecretKeySelector.Builder setVersion(String value)
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The version to set. |
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public SecretKeySelector.Builder setVersionBytes(ByteString value)
The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
string version = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
SecretKeySelector.Builder | This builder for chaining. |