Class Encryption.Builder (0.4.3)

public static final class Encryption.Builder extends GeneratedMessageV3.Builder<Encryption.Builder> implements EncryptionOrBuilder

Encryption settings.

Protobuf type google.cloud.video.transcoder.v1beta1.Encryption

Implements

EncryptionOrBuilder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Encryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Encryption.Builder
Overrides

build()

public Encryption build()
Returns
TypeDescription
Encryption

buildPartial()

public Encryption buildPartial()
Returns
TypeDescription
Encryption

clear()

public Encryption.Builder clear()
Returns
TypeDescription
Encryption.Builder
Overrides

clearAes128()

public Encryption.Builder clearAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;

Returns
TypeDescription
Encryption.Builder

clearEncryptionMode()

public Encryption.Builder clearEncryptionMode()
Returns
TypeDescription
Encryption.Builder

clearField(Descriptors.FieldDescriptor field)

public Encryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Encryption.Builder
Overrides

clearIv()

public Encryption.Builder clearIv()

Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal digits.

string iv = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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];

Returns
TypeDescription
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;

Returns
TypeDescription
Encryption.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Encryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Encryption.Builder
Overrides

clearSampleAes()

public Encryption.Builder clearSampleAes()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
TypeDescription
Encryption.Builder

clone()

public Encryption.Builder clone()
Returns
TypeDescription
Encryption.Builder
Overrides

getAes128()

public Encryption.Aes128Encryption getAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;

Returns
TypeDescription
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;

Returns
TypeDescription
Encryption.Aes128Encryption.Builder

getAes128OrBuilder()

public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;

Returns
TypeDescription
Encryption.Aes128EncryptionOrBuilder

getDefaultInstanceForType()

public Encryption getDefaultInstanceForType()
Returns
TypeDescription
Encryption

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEncryptionModeCase()

public Encryption.EncryptionModeCase getEncryptionModeCase()
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
Encryption.MpegCommonEncryptionOrBuilder

getSampleAes()

public Encryption.SampleAesEncryption getSampleAes()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
TypeDescription
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;

Returns
TypeDescription
Encryption.SampleAesEncryption.Builder

getSampleAesOrBuilder()

public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
TypeDescription
Encryption.SampleAesEncryptionOrBuilder

hasAes128()

public boolean hasAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1beta1.Encryption.Aes128Encryption aes_128 = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sampleAes field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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;

Parameter
NameDescription
valueEncryption.Aes128Encryption
Returns
TypeDescription
Encryption.Builder

mergeFrom(Encryption other)

public Encryption.Builder mergeFrom(Encryption other)
Parameter
NameDescription
otherEncryption
Returns
TypeDescription
Encryption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Encryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Encryption.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Encryption.Builder
Overrides

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;

Parameter
NameDescription
valueEncryption.MpegCommonEncryption
Returns
TypeDescription
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;

Parameter
NameDescription
valueEncryption.SampleAesEncryption
Returns
TypeDescription
Encryption.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Encryption.Builder
Overrides

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;

Parameter
NameDescription
valueEncryption.Aes128Encryption
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueEncryption.Aes128Encryption.Builder
Returns
TypeDescription
Encryption.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Encryption.Builder
Overrides

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];

Parameter
NameDescription
valueString

The iv to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for iv to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueEncryption.MpegCommonEncryption
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueEncryption.MpegCommonEncryption.Builder
Returns
TypeDescription
Encryption.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Encryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Encryption.Builder
Overrides

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;

Parameter
NameDescription
valueEncryption.SampleAesEncryption
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueEncryption.SampleAesEncryption.Builder
Returns
TypeDescription
Encryption.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Encryption.Builder
Overrides