public final class Encryption extends GeneratedMessageV3 implements EncryptionOrBuilder
Encryption settings.
Protobuf type google.cloud.video.transcoder.v1beta1.Encryption
Fields
AES_128_FIELD_NUMBER
public static final int AES_128_FIELD_NUMBER
Field Value
IV_FIELD_NUMBER
public static final int IV_FIELD_NUMBER
Field Value
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
MPEG_CENC_FIELD_NUMBER
public static final int MPEG_CENC_FIELD_NUMBER
Field Value
SAMPLE_AES_FIELD_NUMBER
public static final int SAMPLE_AES_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAes128()
public Encryption.Aes128Encryption getAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Returns
getAes128OrBuilder()
public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Returns
getDefaultInstance()
public static Encryption getDefaultInstance()
Returns
getDefaultInstanceForType()
public Encryption getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getEncryptionModeCase()
public Encryption.EncryptionModeCase getEncryptionModeCase()
Returns
getIv()
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getIvBytes()
public ByteString getIvBytes()
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getKey()
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getKeyBytes()
public ByteString getKeyBytes()
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getMpegCenc()
public Encryption.MpegCommonEncryption getMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Returns
getMpegCencOrBuilder()
public Encryption.MpegCommonEncryptionOrBuilder getMpegCencOrBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Returns
getParserForType()
public Parser<Encryption> getParserForType()
Returns
Overrides
getSampleAes()
public Encryption.SampleAesEncryption getSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Returns
getSampleAesOrBuilder()
public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAes128()
public boolean hasAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Returns
Type | Description |
boolean | Whether the aes128 field is set.
|
hasMpegCenc()
public boolean hasMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Returns
Type | Description |
boolean | Whether the mpegCenc field is set.
|
hasSampleAes()
public boolean hasSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Returns
Type | Description |
boolean | Whether the sampleAes field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Encryption.Builder newBuilder()
Returns
newBuilder(Encryption prototype)
public static Encryption.Builder newBuilder(Encryption prototype)
Parameter
Returns
newBuilderForType()
public Encryption.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Encryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Encryption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Encryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Encryption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Encryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Encryption parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Encryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Encryption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Encryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Encryption parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Encryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Encryption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Encryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Encryption> parser()
Returns
toBuilder()
public Encryption.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions