public static final class Encryption.Builder extends GeneratedMessageV3.Builder<Encryption.Builder> implements EncryptionOrBuilder
Encryption settings.
Protobuf type google.cloud.video.transcoder.v1beta1.Encryption
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Encryption.BuilderImplements
EncryptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Encryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Encryption.Builder |
build()
public Encryption build()
Type | Description |
Encryption |
buildPartial()
public Encryption buildPartial()
Type | Description |
Encryption |
clear()
public Encryption.Builder clear()
Type | Description |
Encryption.Builder |
clearAes128()
public Encryption.Builder clearAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Type | Description |
Encryption.Builder |
clearEncryptionMode()
public Encryption.Builder clearEncryptionMode()
Type | Description |
Encryption.Builder |
clearField(Descriptors.FieldDescriptor field)
public Encryption.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Encryption.Builder |
clearIv()
public Encryption.Builder clearIv()
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Encryption.Builder | This builder for chaining. |
clearKey()
public Encryption.Builder clearKey()
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Encryption.Builder | This builder for chaining. |
clearMpegCenc()
public Encryption.Builder clearMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Type | Description |
Encryption.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Encryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Encryption.Builder |
clearSampleAes()
public Encryption.Builder clearSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Type | Description |
Encryption.Builder |
clone()
public Encryption.Builder clone()
Type | Description |
Encryption.Builder |
getAes128()
public Encryption.Aes128Encryption getAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Type | Description |
Encryption.Aes128Encryption | The aes128. |
getAes128Builder()
public Encryption.Aes128Encryption.Builder getAes128Builder()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Type | Description |
Encryption.Aes128Encryption.Builder |
getAes128OrBuilder()
public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Type | Description |
Encryption.Aes128EncryptionOrBuilder |
getDefaultInstanceForType()
public Encryption getDefaultInstanceForType()
Type | Description |
Encryption |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncryptionModeCase()
public Encryption.EncryptionModeCase getEncryptionModeCase()
Type | Description |
Encryption.EncryptionModeCase |
getIv()
public String getIv()
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The iv. |
getIvBytes()
public ByteString getIvBytes()
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for iv. |
getKey()
public String getKey()
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The key. |
getKeyBytes()
public ByteString getKeyBytes()
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for key. |
getMpegCenc()
public Encryption.MpegCommonEncryption getMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Type | Description |
Encryption.MpegCommonEncryption | The mpegCenc. |
getMpegCencBuilder()
public Encryption.MpegCommonEncryption.Builder getMpegCencBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Type | Description |
Encryption.MpegCommonEncryption.Builder |
getMpegCencOrBuilder()
public Encryption.MpegCommonEncryptionOrBuilder getMpegCencOrBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Type | Description |
Encryption.MpegCommonEncryptionOrBuilder |
getSampleAes()
public Encryption.SampleAesEncryption getSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Type | Description |
Encryption.SampleAesEncryption | The sampleAes. |
getSampleAesBuilder()
public Encryption.SampleAesEncryption.Builder getSampleAesBuilder()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Type | Description |
Encryption.SampleAesEncryption.Builder |
getSampleAesOrBuilder()
public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Type | Description |
Encryption.SampleAesEncryptionOrBuilder |
hasAes128()
public boolean hasAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
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;
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;
Type | Description |
boolean | Whether the sampleAes field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAes128(Encryption.Aes128Encryption value)
public Encryption.Builder mergeAes128(Encryption.Aes128Encryption value)
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Name | Description |
value | Encryption.Aes128Encryption |
Type | Description |
Encryption.Builder |
mergeFrom(Encryption other)
public Encryption.Builder mergeFrom(Encryption other)
Name | Description |
other | Encryption |
Type | Description |
Encryption.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Encryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Encryption.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Encryption.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Encryption.Builder |
mergeMpegCenc(Encryption.MpegCommonEncryption value)
public Encryption.Builder mergeMpegCenc(Encryption.MpegCommonEncryption value)
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Name | Description |
value | Encryption.MpegCommonEncryption |
Type | Description |
Encryption.Builder |
mergeSampleAes(Encryption.SampleAesEncryption value)
public Encryption.Builder mergeSampleAes(Encryption.SampleAesEncryption value)
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Name | Description |
value | Encryption.SampleAesEncryption |
Type | Description |
Encryption.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Encryption.Builder |
setAes128(Encryption.Aes128Encryption value)
public Encryption.Builder setAes128(Encryption.Aes128Encryption value)
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Name | Description |
value | Encryption.Aes128Encryption |
Type | Description |
Encryption.Builder |
setAes128(Encryption.Aes128Encryption.Builder builderForValue)
public Encryption.Builder setAes128(Encryption.Aes128Encryption.Builder builderForValue)
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;
Name | Description |
builderForValue | Encryption.Aes128Encryption.Builder |
Type | Description |
Encryption.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Encryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Encryption.Builder |
setIv(String value)
public Encryption.Builder setIv(String value)
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The iv to set. |
Type | Description |
Encryption.Builder | This builder for chaining. |
setIvBytes(ByteString value)
public Encryption.Builder setIvBytes(ByteString value)
Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.
string iv = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for iv to set. |
Type | Description |
Encryption.Builder | This builder for chaining. |
setKey(String value)
public Encryption.Builder setKey(String value)
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The key to set. |
Type | Description |
Encryption.Builder | This builder for chaining. |
setKeyBytes(ByteString value)
public Encryption.Builder setKeyBytes(ByteString value)
Required. 128 bit encryption key represented as lowercase hexadecimal digits.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for key to set. |
Type | Description |
Encryption.Builder | This builder for chaining. |
setMpegCenc(Encryption.MpegCommonEncryption value)
public Encryption.Builder setMpegCenc(Encryption.MpegCommonEncryption value)
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Name | Description |
value | Encryption.MpegCommonEncryption |
Type | Description |
Encryption.Builder |
setMpegCenc(Encryption.MpegCommonEncryption.Builder builderForValue)
public Encryption.Builder setMpegCenc(Encryption.MpegCommonEncryption.Builder builderForValue)
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1beta1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
Name | Description |
builderForValue | Encryption.MpegCommonEncryption.Builder |
Type | Description |
Encryption.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Encryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Encryption.Builder |
setSampleAes(Encryption.SampleAesEncryption value)
public Encryption.Builder setSampleAes(Encryption.SampleAesEncryption value)
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Name | Description |
value | Encryption.SampleAesEncryption |
Type | Description |
Encryption.Builder |
setSampleAes(Encryption.SampleAesEncryption.Builder builderForValue)
public Encryption.Builder setSampleAes(Encryption.SampleAesEncryption.Builder builderForValue)
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;
Name | Description |
builderForValue | Encryption.SampleAesEncryption.Builder |
Type | Description |
Encryption.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Encryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Encryption.Builder |