Class MediaCdnKey.Builder (0.20.0)

public static final class MediaCdnKey.Builder extends GeneratedMessageV3.Builder<MediaCdnKey.Builder> implements MediaCdnKeyOrBuilder

Configuration for a Media CDN key.

Protobuf type google.cloud.video.stitcher.v1.MediaCdnKey

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MediaCdnKey build()
Returns
TypeDescription
MediaCdnKey

buildPartial()

public MediaCdnKey buildPartial()
Returns
TypeDescription
MediaCdnKey

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyName()

public MediaCdnKey.Builder clearKeyName()

The keyset name of the Media CDN key.

string key_name = 2;

Returns
TypeDescription
MediaCdnKey.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateKey()

public MediaCdnKey.Builder clearPrivateKey()

Input only. 64-byte ed25519 private key for this Media CDN key.

bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
MediaCdnKey.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MediaCdnKey getDefaultInstanceForType()
Returns
TypeDescription
MediaCdnKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyName()

public String getKeyName()

The keyset name of the Media CDN key.

string key_name = 2;

Returns
TypeDescription
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

The keyset name of the Media CDN key.

string key_name = 2;

Returns
TypeDescription
ByteString

The bytes for keyName.

getPrivateKey()

public ByteString getPrivateKey()

Input only. 64-byte ed25519 private key for this Media CDN key.

bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The privateKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MediaCdnKey other)

public MediaCdnKey.Builder mergeFrom(MediaCdnKey other)
Parameter
NameDescription
otherMediaCdnKey
Returns
TypeDescription
MediaCdnKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyName(String value)

public MediaCdnKey.Builder setKeyName(String value)

The keyset name of the Media CDN key.

string key_name = 2;

Parameter
NameDescription
valueString

The keyName to set.

Returns
TypeDescription
MediaCdnKey.Builder

This builder for chaining.

setKeyNameBytes(ByteString value)

public MediaCdnKey.Builder setKeyNameBytes(ByteString value)

The keyset name of the Media CDN key.

string key_name = 2;

Parameter
NameDescription
valueByteString

The bytes for keyName to set.

Returns
TypeDescription
MediaCdnKey.Builder

This builder for chaining.

setPrivateKey(ByteString value)

public MediaCdnKey.Builder setPrivateKey(ByteString value)

Input only. 64-byte ed25519 private key for this Media CDN key.

bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
NameDescription
valueByteString

The privateKey to set.

Returns
TypeDescription
MediaCdnKey.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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