public static final class Encryption.MpegCommonEncryption extends GeneratedMessageV3 implements Encryption.MpegCommonEncryptionOrBuilder
Configuration for MPEG Common Encryption (MPEG-CENC).
Protobuf type google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption
Static Fields
KEY_ID_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
Field Value
SCHEME_FIELD_NUMBER
public static final int SCHEME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Encryption.MpegCommonEncryption getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Encryption.MpegCommonEncryption.Builder newBuilder()
Returns
newBuilder(Encryption.MpegCommonEncryption prototype)
public static Encryption.MpegCommonEncryption.Builder newBuilder(Encryption.MpegCommonEncryption prototype)
Parameter
Returns
public static Encryption.MpegCommonEncryption parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Encryption.MpegCommonEncryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Encryption.MpegCommonEncryption parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Encryption.MpegCommonEncryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Encryption.MpegCommonEncryption parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Encryption.MpegCommonEncryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Encryption.MpegCommonEncryption parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Encryption.MpegCommonEncryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Encryption.MpegCommonEncryption parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Encryption.MpegCommonEncryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Encryption.MpegCommonEncryption parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Encryption.MpegCommonEncryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Encryption.MpegCommonEncryption> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Encryption.MpegCommonEncryption getDefaultInstanceForType()
Returns
getKeyId()
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
common encryption.
string key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The keyId.
|
getKeyIdBytes()
public ByteString getKeyIdBytes()
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
common encryption.
string key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<Encryption.MpegCommonEncryption> getParserForType()
Returns
Overrides
getScheme()
public String getScheme()
Required. Specify the encryption scheme.
Supported encryption schemes:
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The scheme.
|
getSchemeBytes()
public ByteString getSchemeBytes()
Required. Specify the encryption scheme.
Supported encryption schemes:
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Encryption.MpegCommonEncryption.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Encryption.MpegCommonEncryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Encryption.MpegCommonEncryption.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions