Class GoogleCdnKey.Builder (0.83.0)

public static final class GoogleCdnKey.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.