public static final class Encryption.SecretManagerSource.Builder extends GeneratedMessageV3.Builder<Encryption.SecretManagerSource.Builder> implements Encryption.SecretManagerSourceOrBuilder
Configuration for secrets stored in Google Secret Manager.
Protobuf type google.cloud.video.transcoder.v1.Encryption.SecretManagerSource
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Encryption.SecretManagerSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Encryption.SecretManagerSource build()
buildPartial()
public Encryption.SecretManagerSource buildPartial()
clear()
public Encryption.SecretManagerSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Encryption.SecretManagerSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Encryption.SecretManagerSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public Encryption.SecretManagerSource.Builder clone()
Overrides
getDefaultInstanceForType()
public Encryption.SecretManagerSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Encryption.SecretManagerSource other)
public Encryption.SecretManagerSource.Builder mergeFrom(Encryption.SecretManagerSource other)
public Encryption.SecretManagerSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Encryption.SecretManagerSource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.SecretManagerSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Encryption.SecretManagerSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Encryption.SecretManagerSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | String
The secretVersion to set.
|
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 | ByteString
The bytes for secretVersion to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.SecretManagerSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides