Class Encryption.SecretManagerSource (1.22.0)

public static final class Encryption.SecretManagerSource extends GeneratedMessageV3 implements Encryption.SecretManagerSourceOrBuilder

Configuration for secrets stored in Google Secret Manager.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Encryption.SecretManagerSource

Static Fields

SECRET_VERSION_FIELD_NUMBER

public static final int SECRET_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Encryption.SecretManagerSource getDefaultInstance()
Returns
TypeDescription
Encryption.SecretManagerSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Encryption.SecretManagerSource.Builder newBuilder()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

newBuilder(Encryption.SecretManagerSource prototype)

public static Encryption.SecretManagerSource.Builder newBuilder(Encryption.SecretManagerSource prototype)
Parameter
NameDescription
prototypeEncryption.SecretManagerSource
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

parseDelimitedFrom(InputStream input)

public static Encryption.SecretManagerSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Encryption.SecretManagerSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Encryption.SecretManagerSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Encryption.SecretManagerSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Encryption.SecretManagerSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Encryption.SecretManagerSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Encryption.SecretManagerSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.SecretManagerSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Encryption.SecretManagerSource> parser()
Returns
TypeDescription
Parser<SecretManagerSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Encryption.SecretManagerSource getDefaultInstanceForType()
Returns
TypeDescription
Encryption.SecretManagerSource

getParserForType()

public Parser<Encryption.SecretManagerSource> getParserForType()
Returns
TypeDescription
Parser<SecretManagerSource>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for secretVersion.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Encryption.SecretManagerSource.Builder newBuilderForType()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Encryption.SecretManagerSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Encryption.SecretManagerSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Encryption.SecretManagerSource.Builder toBuilder()
Returns
TypeDescription
Encryption.SecretManagerSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException