Class GoogleCdnKey.Builder (0.54.0)

public static final class GoogleCdnKey.Builder extends GeneratedMessageV3.Builder<GoogleCdnKey.Builder> implements GoogleCdnKeyOrBuilder

Configuration for a Google Cloud CDN key.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GoogleCdnKey build()
Returns
Type Description
GoogleCdnKey

buildPartial()

public GoogleCdnKey buildPartial()
Returns
Type Description
GoogleCdnKey

clear()

public GoogleCdnKey.Builder clear()
Returns
Type Description
GoogleCdnKey.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearKeyName()

public GoogleCdnKey.Builder clearKeyName()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
Type Description
GoogleCdnKey.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateKey()

public GoogleCdnKey.Builder clearPrivateKey()

Input only. Secret for this Google Cloud CDN key.

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

Returns
Type Description
GoogleCdnKey.Builder

This builder for chaining.

clone()

public GoogleCdnKey.Builder clone()
Returns
Type Description
GoogleCdnKey.Builder
Overrides

getDefaultInstanceForType()

public GoogleCdnKey getDefaultInstanceForType()
Returns
Type Description
GoogleCdnKey

getDescriptorForType()

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

getKeyName()

public String getKeyName()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
Type Description
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
Type Description
ByteString

The bytes for keyName.

getPrivateKey()

public ByteString getPrivateKey()

Input only. Secret for this Google Cloud CDN key.

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

Returns
Type Description
ByteString

The privateKey.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoogleCdnKey other)

public GoogleCdnKey.Builder mergeFrom(GoogleCdnKey other)
Parameter
Name Description
other GoogleCdnKey
Returns
Type Description
GoogleCdnKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoogleCdnKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoogleCdnKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoogleCdnKey.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoogleCdnKey.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyName(String value)

public GoogleCdnKey.Builder setKeyName(String value)

The public name of the Google Cloud CDN key.

string key_name = 2;

Parameter
Name Description
value String

The keyName to set.

Returns
Type Description
GoogleCdnKey.Builder

This builder for chaining.

setKeyNameBytes(ByteString value)

public GoogleCdnKey.Builder setKeyNameBytes(ByteString value)

The public name of the Google Cloud CDN key.

string key_name = 2;

Parameter
Name Description
value ByteString

The bytes for keyName to set.

Returns
Type Description
GoogleCdnKey.Builder

This builder for chaining.

setPrivateKey(ByteString value)

public GoogleCdnKey.Builder setPrivateKey(ByteString value)

Input only. Secret for this Google Cloud CDN key.

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

Parameter
Name Description
value ByteString

The privateKey to set.

Returns
Type Description
GoogleCdnKey.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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