public static final class Encryption.MpegCommonEncryption.Builder extends GeneratedMessage.Builder<Encryption.MpegCommonEncryption.Builder> implements Encryption.MpegCommonEncryptionOrBuilderConfiguration for MPEG Common Encryption (MPEG-CENC).
Protobuf type google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Encryption.MpegCommonEncryption.BuilderImplements
Encryption.MpegCommonEncryptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Encryption.MpegCommonEncryption build()| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption |
|
buildPartial()
public Encryption.MpegCommonEncryption buildPartial()| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption |
|
clear()
public Encryption.MpegCommonEncryption.Builder clear()| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
|
clearScheme()
public Encryption.MpegCommonEncryption.Builder clearScheme()Required. Specify the encryption scheme.
Supported encryption schemes:
cenccbcs
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Encryption.MpegCommonEncryption getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getScheme()
public String getScheme()Required. Specify the encryption scheme.
Supported encryption schemes:
cenccbcs
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:
cenccbcs
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scheme. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Encryption.MpegCommonEncryption other)
public Encryption.MpegCommonEncryption.Builder mergeFrom(Encryption.MpegCommonEncryption other)| Parameter | |
|---|---|
| Name | Description |
other |
Encryption.MpegCommonEncryption |
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Encryption.MpegCommonEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Encryption.MpegCommonEncryption.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
|
setScheme(String value)
public Encryption.MpegCommonEncryption.Builder setScheme(String value)Required. Specify the encryption scheme.
Supported encryption schemes:
cenccbcs
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scheme to set. |
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
This builder for chaining. |
setSchemeBytes(ByteString value)
public Encryption.MpegCommonEncryption.Builder setSchemeBytes(ByteString value)Required. Specify the encryption scheme.
Supported encryption schemes:
cenccbcs
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scheme to set. |
| Returns | |
|---|---|
| Type | Description |
Encryption.MpegCommonEncryption.Builder |
This builder for chaining. |