Class GoogleCdnKey.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GoogleCdnKey build()
Returns
TypeDescription
GoogleCdnKey

buildPartial()

public GoogleCdnKey buildPartial()
Returns
TypeDescription
GoogleCdnKey

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyName()

public GoogleCdnKey.Builder clearKeyName()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
TypeDescription
GoogleCdnKey.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GoogleCdnKey getDefaultInstanceForType()
Returns
TypeDescription
GoogleCdnKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyName()

public String getKeyName()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
TypeDescription
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

The public name of the Google Cloud CDN key.

string key_name = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

The privateKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GoogleCdnKey other)

public GoogleCdnKey.Builder mergeFrom(GoogleCdnKey other)
Parameter
NameDescription
otherGoogleCdnKey
Returns
TypeDescription
GoogleCdnKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The keyName to set.

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

The bytes for keyName to set.

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

The privateKey to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GoogleCdnKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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