Class Encryption
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.video.transcoder.v1.Encryption
-
- All Implemented Interfaces:
EncryptionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Encryption extends com.google.protobuf.GeneratedMessageV3 implements EncryptionOrBuilder
Encryption settings.
Protobuf typegoogle.cloud.video.transcoder.v1.Encryption
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Encryption.Aes128Encryption
Configuration for AES-128 encryption.static interface
Encryption.Aes128EncryptionOrBuilder
static class
Encryption.Builder
Encryption settings.static class
Encryption.Clearkey
Clearkey configuration.static interface
Encryption.ClearkeyOrBuilder
static class
Encryption.DrmSystems
Defines configuration for DRM systems in use.static interface
Encryption.DrmSystemsOrBuilder
static class
Encryption.EncryptionModeCase
static class
Encryption.Fairplay
Fairplay configuration.static interface
Encryption.FairplayOrBuilder
static class
Encryption.MpegCommonEncryption
Configuration for MPEG Common Encryption (MPEG-CENC).static interface
Encryption.MpegCommonEncryptionOrBuilder
static class
Encryption.Playready
Playready configuration.static interface
Encryption.PlayreadyOrBuilder
static class
Encryption.SampleAesEncryption
Configuration for SAMPLE-AES encryption.static interface
Encryption.SampleAesEncryptionOrBuilder
static class
Encryption.SecretManagerSource
Configuration for secrets stored in Google Secret Manager.static interface
Encryption.SecretManagerSourceOrBuilder
static class
Encryption.SecretSourceCase
static class
Encryption.Widevine
Widevine configuration.static interface
Encryption.WidevineOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AES_128_FIELD_NUMBER
static int
DRM_SYSTEMS_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
MPEG_CENC_FIELD_NUMBER
static int
SAMPLE_AES_FIELD_NUMBER
static int
SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Encryption.Aes128Encryption
getAes128()
Configuration for AES-128 encryption.Encryption.Aes128EncryptionOrBuilder
getAes128OrBuilder()
Configuration for AES-128 encryption.static Encryption
getDefaultInstance()
Encryption
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Encryption.DrmSystems
getDrmSystems()
Required.Encryption.DrmSystemsOrBuilder
getDrmSystemsOrBuilder()
Required.Encryption.EncryptionModeCase
getEncryptionModeCase()
String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.Encryption.MpegCommonEncryption
getMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).Encryption.MpegCommonEncryptionOrBuilder
getMpegCencOrBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).com.google.protobuf.Parser<Encryption>
getParserForType()
Encryption.SampleAesEncryption
getSampleAes()
Configuration for SAMPLE-AES encryption.Encryption.SampleAesEncryptionOrBuilder
getSampleAesOrBuilder()
Configuration for SAMPLE-AES encryption.Encryption.SecretManagerSource
getSecretManagerKeySource()
Keys are stored in Google Secret Manager.Encryption.SecretManagerSourceOrBuilder
getSecretManagerKeySourceOrBuilder()
Keys are stored in Google Secret Manager.Encryption.SecretSourceCase
getSecretSourceCase()
int
getSerializedSize()
boolean
hasAes128()
Configuration for AES-128 encryption.boolean
hasDrmSystems()
Required.int
hashCode()
boolean
hasMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).boolean
hasSampleAes()
Configuration for SAMPLE-AES encryption.boolean
hasSecretManagerKeySource()
Keys are stored in Google Secret Manager.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Encryption.Builder
newBuilder()
static Encryption.Builder
newBuilder(Encryption prototype)
Encryption.Builder
newBuilderForType()
protected Encryption.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Encryption
parseDelimitedFrom(InputStream input)
static Encryption
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Encryption
parseFrom(byte[] data)
static Encryption
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Encryption
parseFrom(com.google.protobuf.ByteString data)
static Encryption
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Encryption
parseFrom(com.google.protobuf.CodedInputStream input)
static Encryption
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Encryption
parseFrom(InputStream input)
static Encryption
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Encryption
parseFrom(ByteBuffer data)
static Encryption
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Encryption>
parser()
Encryption.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AES_128_FIELD_NUMBER
public static final int AES_128_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLE_AES_FIELD_NUMBER
public static final int SAMPLE_AES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MPEG_CENC_FIELD_NUMBER
public static final int MPEG_CENC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
public static final int SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRM_SYSTEMS_FIELD_NUMBER
public static final int DRM_SYSTEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getEncryptionModeCase
public Encryption.EncryptionModeCase getEncryptionModeCase()
- Specified by:
getEncryptionModeCase
in interfaceEncryptionOrBuilder
-
getSecretSourceCase
public Encryption.SecretSourceCase getSecretSourceCase()
- Specified by:
getSecretSourceCase
in interfaceEncryptionOrBuilder
-
getId
public String getId()
Required. Identifier for this set of encryption options.
string id = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getId
in interfaceEncryptionOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Required. Identifier for this set of encryption options.
string id = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getIdBytes
in interfaceEncryptionOrBuilder
- Returns:
- The bytes for id.
-
hasAes128
public boolean hasAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
- Specified by:
hasAes128
in interfaceEncryptionOrBuilder
- Returns:
- Whether the aes128 field is set.
-
getAes128
public Encryption.Aes128Encryption getAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
- Specified by:
getAes128
in interfaceEncryptionOrBuilder
- Returns:
- The aes128.
-
getAes128OrBuilder
public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
- Specified by:
getAes128OrBuilder
in interfaceEncryptionOrBuilder
-
hasSampleAes
public boolean hasSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
- Specified by:
hasSampleAes
in interfaceEncryptionOrBuilder
- Returns:
- Whether the sampleAes field is set.
-
getSampleAes
public Encryption.SampleAesEncryption getSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
- Specified by:
getSampleAes
in interfaceEncryptionOrBuilder
- Returns:
- The sampleAes.
-
getSampleAesOrBuilder
public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
- Specified by:
getSampleAesOrBuilder
in interfaceEncryptionOrBuilder
-
hasMpegCenc
public boolean hasMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
- Specified by:
hasMpegCenc
in interfaceEncryptionOrBuilder
- Returns:
- Whether the mpegCenc field is set.
-
getMpegCenc
public Encryption.MpegCommonEncryption getMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
- Specified by:
getMpegCenc
in interfaceEncryptionOrBuilder
- Returns:
- The mpegCenc.
-
getMpegCencOrBuilder
public Encryption.MpegCommonEncryptionOrBuilder getMpegCencOrBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
- Specified by:
getMpegCencOrBuilder
in interfaceEncryptionOrBuilder
-
hasSecretManagerKeySource
public boolean hasSecretManagerKeySource()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
- Specified by:
hasSecretManagerKeySource
in interfaceEncryptionOrBuilder
- Returns:
- Whether the secretManagerKeySource field is set.
-
getSecretManagerKeySource
public Encryption.SecretManagerSource getSecretManagerKeySource()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
- Specified by:
getSecretManagerKeySource
in interfaceEncryptionOrBuilder
- Returns:
- The secretManagerKeySource.
-
getSecretManagerKeySourceOrBuilder
public Encryption.SecretManagerSourceOrBuilder getSecretManagerKeySourceOrBuilder()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
- Specified by:
getSecretManagerKeySourceOrBuilder
in interfaceEncryptionOrBuilder
-
hasDrmSystems
public boolean hasDrmSystems()
Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.
.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasDrmSystems
in interfaceEncryptionOrBuilder
- Returns:
- Whether the drmSystems field is set.
-
getDrmSystems
public Encryption.DrmSystems getDrmSystems()
Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.
.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDrmSystems
in interfaceEncryptionOrBuilder
- Returns:
- The drmSystems.
-
getDrmSystemsOrBuilder
public Encryption.DrmSystemsOrBuilder getDrmSystemsOrBuilder()
Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.
.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDrmSystemsOrBuilder
in interfaceEncryptionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Encryption parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Encryption parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Encryption parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Encryption.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Encryption.Builder newBuilder()
-
newBuilder
public static Encryption.Builder newBuilder(Encryption prototype)
-
toBuilder
public Encryption.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Encryption.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Encryption getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Encryption> parser()
-
getParserForType
public com.google.protobuf.Parser<Encryption> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Encryption getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-