Class Encryption.MpegCommonEncryption.Builder (0.57.0)

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

Configuration for MPEG-Dash Common Encryption (MPEG-CENC).

Protobuf type google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Encryption.MpegCommonEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public Encryption.MpegCommonEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Encryption.MpegCommonEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

clearScheme()

public Encryption.MpegCommonEncryption.Builder clearScheme()

Required. Specify the encryption scheme, supported schemes:

  • cenc - AES-CTR subsample
  • cbcs- AES-CBC subsample pattern

string scheme = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.MpegCommonEncryption.Builder

This builder for chaining.

clone()

public Encryption.MpegCommonEncryption.Builder clone()
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

getDefaultInstanceForType()

public Encryption.MpegCommonEncryption getDefaultInstanceForType()
Returns
Type Description
Encryption.MpegCommonEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getScheme()

public String getScheme()

Required. Specify the encryption scheme, supported schemes:

  • cenc - AES-CTR subsample
  • cbcs- AES-CBC subsample pattern

string scheme = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The scheme.

getSchemeBytes()

public ByteString getSchemeBytes()

Required. Specify the encryption scheme, supported schemes:

  • cenc - AES-CTR subsample
  • cbcs- AES-CBC subsample pattern

string scheme = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for scheme.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.MpegCommonEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.MpegCommonEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

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

public Encryption.MpegCommonEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides

setScheme(String value)

public Encryption.MpegCommonEncryption.Builder setScheme(String value)

Required. Specify the encryption scheme, supported schemes:

  • cenc - AES-CTR subsample
  • cbcs- AES-CBC subsample pattern

string scheme = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The 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 schemes:

  • cenc - AES-CTR subsample
  • cbcs- AES-CBC subsample pattern

string scheme = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for scheme to set.

Returns
Type Description
Encryption.MpegCommonEncryption.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.MpegCommonEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Encryption.MpegCommonEncryption.Builder
Overrides