public static final class Encryption.SecretManagerSource.Builder extends GeneratedMessage.Builder<Encryption.SecretManagerSource.Builder> implements Encryption.SecretManagerSourceOrBuilderConfiguration for secrets stored in Google Secret Manager.
Protobuf type google.cloud.video.transcoder.v1.Encryption.SecretManagerSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Encryption.SecretManagerSource.BuilderImplements
Encryption.SecretManagerSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Encryption.SecretManagerSource build()| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource |
|
buildPartial()
public Encryption.SecretManagerSource buildPartial()| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource |
|
clear()
public Encryption.SecretManagerSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
|
clearSecretVersion()
public Encryption.SecretManagerSource.Builder clearSecretVersion() Required. The name of the Secret Version containing the encryption key in
the following format:
projects/{project}/secrets/{secret_id}/versions/{version_number}
Note that only numbered versions are supported. Aliases like "latest" are not supported.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Encryption.SecretManagerSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSecretVersion()
public String getSecretVersion() Required. The name of the Secret Version containing the encryption key in
the following format:
projects/{project}/secrets/{secret_id}/versions/{version_number}
Note that only numbered versions are supported. Aliases like "latest" are not supported.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The secretVersion. |
getSecretVersionBytes()
public ByteString getSecretVersionBytes() Required. The name of the Secret Version containing the encryption key in
the following format:
projects/{project}/secrets/{secret_id}/versions/{version_number}
Note that only numbered versions are supported. Aliases like "latest" are not supported.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secretVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Encryption.SecretManagerSource other)
public Encryption.SecretManagerSource.Builder mergeFrom(Encryption.SecretManagerSource other)| Parameter | |
|---|---|
| Name | Description |
other |
Encryption.SecretManagerSource |
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Encryption.SecretManagerSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Encryption.SecretManagerSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
|
setSecretVersion(String value)
public Encryption.SecretManagerSource.Builder setSecretVersion(String value) Required. The name of the Secret Version containing the encryption key in
the following format:
projects/{project}/secrets/{secret_id}/versions/{version_number}
Note that only numbered versions are supported. Aliases like "latest" are not supported.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
This builder for chaining. |
setSecretVersionBytes(ByteString value)
public Encryption.SecretManagerSource.Builder setSecretVersionBytes(ByteString value) Required. The name of the Secret Version containing the encryption key in
the following format:
projects/{project}/secrets/{secret_id}/versions/{version_number}
Note that only numbered versions are supported. Aliases like "latest" are not supported.
string secret_version = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
Encryption.SecretManagerSource.Builder |
This builder for chaining. |