Class Encryption.MpegCommonEncryption.Builder (0.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Encryption.MpegCommonEncryption build()
Returns
TypeDescription
Encryption.MpegCommonEncryption

buildPartial()

public Encryption.MpegCommonEncryption buildPartial()
Returns
TypeDescription
Encryption.MpegCommonEncryption

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Encryption.MpegCommonEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Encryption.MpegCommonEncryption.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Encryption.MpegCommonEncryption getDefaultInstanceForType()
Returns
TypeDescription
Encryption.MpegCommonEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for scheme.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Encryption.MpegCommonEncryption other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.MpegCommonEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The scheme to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for scheme to set.

Returns
TypeDescription
Encryption.MpegCommonEncryption.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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