public static final class Encryption.MpegCommonEncryption.Builder extends GeneratedMessageV3.Builder<Encryption.MpegCommonEncryption.Builder> implements Encryption.MpegCommonEncryptionOrBuilder
Configuration for MPEG Common Encryption (MPEG-CENC).
Protobuf type google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Encryption.MpegCommonEncryption.BuilderImplements
Encryption.MpegCommonEncryptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Encryption.MpegCommonEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
build()
public Encryption.MpegCommonEncryption build()
Type | Description |
Encryption.MpegCommonEncryption |
buildPartial()
public Encryption.MpegCommonEncryption buildPartial()
Type | Description |
Encryption.MpegCommonEncryption |
clear()
public Encryption.MpegCommonEncryption.Builder clear()
Type | Description |
Encryption.MpegCommonEncryption.Builder |
clearField(Descriptors.FieldDescriptor field)
public Encryption.MpegCommonEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
clearKeyId()
public Encryption.MpegCommonEncryption.Builder clearKeyId()
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.
string key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Encryption.MpegCommonEncryption.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Encryption.MpegCommonEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
clearScheme()
public Encryption.MpegCommonEncryption.Builder clearScheme()
Required. Specify the encryption scheme. Supported encryption schemes:
- 'cenc'
- 'cbcs'
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Encryption.MpegCommonEncryption.Builder | This builder for chaining. |
clone()
public Encryption.MpegCommonEncryption.Builder clone()
Type | Description |
Encryption.MpegCommonEncryption.Builder |
getDefaultInstanceForType()
public Encryption.MpegCommonEncryption getDefaultInstanceForType()
Type | Description |
Encryption.MpegCommonEncryption |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKeyId()
public String 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];
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];
Type | Description |
ByteString | The bytes for keyId. |
getScheme()
public String getScheme()
Required. Specify the encryption scheme. Supported encryption schemes:
- 'cenc'
- 'cbcs'
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The scheme. |
getSchemeBytes()
public ByteString getSchemeBytes()
Required. Specify the encryption scheme. Supported encryption schemes:
- 'cenc'
- 'cbcs'
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for scheme. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Encryption.MpegCommonEncryption other)
public Encryption.MpegCommonEncryption.Builder mergeFrom(Encryption.MpegCommonEncryption other)
Name | Description |
other | Encryption.MpegCommonEncryption |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Encryption.MpegCommonEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Encryption.MpegCommonEncryption.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.MpegCommonEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Encryption.MpegCommonEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
setKeyId(String value)
public Encryption.MpegCommonEncryption.Builder setKeyId(String value)
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.
string key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The keyId to set. |
Type | Description |
Encryption.MpegCommonEncryption.Builder | This builder for chaining. |
setKeyIdBytes(ByteString value)
public Encryption.MpegCommonEncryption.Builder setKeyIdBytes(ByteString value)
Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with common encryption.
string key_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for keyId to set. |
Type | Description |
Encryption.MpegCommonEncryption.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Encryption.MpegCommonEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Encryption.MpegCommonEncryption.Builder |
setScheme(String value)
public Encryption.MpegCommonEncryption.Builder setScheme(String value)
Required. Specify the encryption scheme. Supported encryption schemes:
- 'cenc'
- 'cbcs'
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The scheme to set. |
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:
- 'cenc'
- 'cbcs'
string scheme = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for scheme to set. |
Type | Description |
Encryption.MpegCommonEncryption.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.MpegCommonEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Encryption.MpegCommonEncryption.Builder |