Class Encryption.SecretManagerSource (1.51.0)

publicstaticfinalclassEncryption.SecretManagerSourceextendsGeneratedMessageV3implementsEncryption.SecretManagerSourceOrBuilder

Configuration for secrets stored in Google Secret Manager.

Protobuf type google.cloud.video.transcoder.v1.Encryption.SecretManagerSource

Static Fields

SECRET_VERSION_FIELD_NUMBER

publicstaticfinalintSECRET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticEncryption.SecretManagerSourcegetDefaultInstance()
Returns
TypeDescription
Encryption.SecretManagerSource

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticEncryption.SecretManagerSource.BuildernewBuilder()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

newBuilder(Encryption.SecretManagerSource prototype)

publicstaticEncryption.SecretManagerSource.BuildernewBuilder(Encryption.SecretManagerSourceprototype)
Parameter
NameDescription
prototypeEncryption.SecretManagerSource
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

parseDelimitedFrom(InputStream input)

publicstaticEncryption.SecretManagerSourceparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticEncryption.SecretManagerSourceparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticEncryption.SecretManagerSourceparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticEncryption.SecretManagerSourceparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticEncryption.SecretManagerSourceparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticEncryption.SecretManagerSourceparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryption.SecretManagerSourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<Encryption.SecretManagerSource>parser()
Returns
TypeDescription
Parser<SecretManagerSource>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicEncryption.SecretManagerSourcegetDefaultInstanceForType()
Returns
TypeDescription
Encryption.SecretManagerSource

getParserForType()

publicParser<Encryption.SecretManagerSource>getParserForType()
Returns
TypeDescription
Parser<SecretManagerSource>
Overrides

getSecretVersion()

publicStringgetSecretVersion()

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
TypeDescription
String

The secretVersion.

getSecretVersionBytes()

publicByteStringgetSecretVersionBytes()

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
TypeDescription
ByteString

The bytes for secretVersion.

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicEncryption.SecretManagerSource.BuildernewBuilderForType()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedEncryption.SecretManagerSource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Encryption.SecretManagerSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicEncryption.SecretManagerSource.BuildertoBuilder()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException