Class CdnKey.Builder (0.47.0)

public static final class CdnKey.Builder extends GeneratedMessageV3.Builder<CdnKey.Builder> implements CdnKeyOrBuilder

Configuration for a CDN key. Used by the Video Stitcher to sign URIs for fetching video manifests and signing media segments for playback.

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

Implements

CdnKeyOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CdnKey build()
Returns
Type Description
CdnKey

buildPartial()

public CdnKey buildPartial()
Returns
Type Description
CdnKey

clear()

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

clearAkamaiCdnKey()

public CdnKey.Builder clearAkamaiCdnKey()

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Returns
Type Description
CdnKey.Builder

clearCdnKeyConfig()

public CdnKey.Builder clearCdnKeyConfig()
Returns
Type Description
CdnKey.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleCdnKey()

public CdnKey.Builder clearGoogleCdnKey()

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Returns
Type Description
CdnKey.Builder

clearHostname()

public CdnKey.Builder clearHostname()

The hostname this key applies to.

string hostname = 4;

Returns
Type Description
CdnKey.Builder

This builder for chaining.

clearMediaCdnKey()

public CdnKey.Builder clearMediaCdnKey()

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Returns
Type Description
CdnKey.Builder

clearName()

public CdnKey.Builder clearName()

The resource name of the CDN key, in the form of projects/{project}/locations/{location}/cdnKeys/{id}. The name is ignored when creating a CDN key.

string name = 1;

Returns
Type Description
CdnKey.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAkamaiCdnKey()

public AkamaiCdnKey getAkamaiCdnKey()

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Returns
Type Description
AkamaiCdnKey

The akamaiCdnKey.

getAkamaiCdnKeyBuilder()

public AkamaiCdnKey.Builder getAkamaiCdnKeyBuilder()

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Returns
Type Description
AkamaiCdnKey.Builder

getAkamaiCdnKeyOrBuilder()

public AkamaiCdnKeyOrBuilder getAkamaiCdnKeyOrBuilder()

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Returns
Type Description
AkamaiCdnKeyOrBuilder

getCdnKeyConfigCase()

public CdnKey.CdnKeyConfigCase getCdnKeyConfigCase()
Returns
Type Description
CdnKey.CdnKeyConfigCase

getDefaultInstanceForType()

public CdnKey getDefaultInstanceForType()
Returns
Type Description
CdnKey

getDescriptorForType()

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

getGoogleCdnKey()

public GoogleCdnKey getGoogleCdnKey()

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Returns
Type Description
GoogleCdnKey

The googleCdnKey.

getGoogleCdnKeyBuilder()

public GoogleCdnKey.Builder getGoogleCdnKeyBuilder()

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Returns
Type Description
GoogleCdnKey.Builder

getGoogleCdnKeyOrBuilder()

public GoogleCdnKeyOrBuilder getGoogleCdnKeyOrBuilder()

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Returns
Type Description
GoogleCdnKeyOrBuilder

getHostname()

public String getHostname()

The hostname this key applies to.

string hostname = 4;

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

The hostname this key applies to.

string hostname = 4;

Returns
Type Description
ByteString

The bytes for hostname.

getMediaCdnKey()

public MediaCdnKey getMediaCdnKey()

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Returns
Type Description
MediaCdnKey

The mediaCdnKey.

getMediaCdnKeyBuilder()

public MediaCdnKey.Builder getMediaCdnKeyBuilder()

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Returns
Type Description
MediaCdnKey.Builder

getMediaCdnKeyOrBuilder()

public MediaCdnKeyOrBuilder getMediaCdnKeyOrBuilder()

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Returns
Type Description
MediaCdnKeyOrBuilder

getName()

public String getName()

The resource name of the CDN key, in the form of projects/{project}/locations/{location}/cdnKeys/{id}. The name is ignored when creating a CDN key.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the CDN key, in the form of projects/{project}/locations/{location}/cdnKeys/{id}. The name is ignored when creating a CDN key.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasAkamaiCdnKey()

public boolean hasAkamaiCdnKey()

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Returns
Type Description
boolean

Whether the akamaiCdnKey field is set.

hasGoogleCdnKey()

public boolean hasGoogleCdnKey()

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Returns
Type Description
boolean

Whether the googleCdnKey field is set.

hasMediaCdnKey()

public boolean hasMediaCdnKey()

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Returns
Type Description
boolean

Whether the mediaCdnKey field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAkamaiCdnKey(AkamaiCdnKey value)

public CdnKey.Builder mergeAkamaiCdnKey(AkamaiCdnKey value)

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Parameter
Name Description
value AkamaiCdnKey
Returns
Type Description
CdnKey.Builder

mergeFrom(CdnKey other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGoogleCdnKey(GoogleCdnKey value)

public CdnKey.Builder mergeGoogleCdnKey(GoogleCdnKey value)

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Parameter
Name Description
value GoogleCdnKey
Returns
Type Description
CdnKey.Builder

mergeMediaCdnKey(MediaCdnKey value)

public CdnKey.Builder mergeMediaCdnKey(MediaCdnKey value)

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Parameter
Name Description
value MediaCdnKey
Returns
Type Description
CdnKey.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAkamaiCdnKey(AkamaiCdnKey value)

public CdnKey.Builder setAkamaiCdnKey(AkamaiCdnKey value)

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Parameter
Name Description
value AkamaiCdnKey
Returns
Type Description
CdnKey.Builder

setAkamaiCdnKey(AkamaiCdnKey.Builder builderForValue)

public CdnKey.Builder setAkamaiCdnKey(AkamaiCdnKey.Builder builderForValue)

The configuration for an Akamai CDN key.

.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;

Parameter
Name Description
builderForValue AkamaiCdnKey.Builder
Returns
Type Description
CdnKey.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleCdnKey(GoogleCdnKey value)

public CdnKey.Builder setGoogleCdnKey(GoogleCdnKey value)

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Parameter
Name Description
value GoogleCdnKey
Returns
Type Description
CdnKey.Builder

setGoogleCdnKey(GoogleCdnKey.Builder builderForValue)

public CdnKey.Builder setGoogleCdnKey(GoogleCdnKey.Builder builderForValue)

The configuration for a Google Cloud CDN key.

.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;

Parameter
Name Description
builderForValue GoogleCdnKey.Builder
Returns
Type Description
CdnKey.Builder

setHostname(String value)

public CdnKey.Builder setHostname(String value)

The hostname this key applies to.

string hostname = 4;

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
CdnKey.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public CdnKey.Builder setHostnameBytes(ByteString value)

The hostname this key applies to.

string hostname = 4;

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
CdnKey.Builder

This builder for chaining.

setMediaCdnKey(MediaCdnKey value)

public CdnKey.Builder setMediaCdnKey(MediaCdnKey value)

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Parameter
Name Description
value MediaCdnKey
Returns
Type Description
CdnKey.Builder

setMediaCdnKey(MediaCdnKey.Builder builderForValue)

public CdnKey.Builder setMediaCdnKey(MediaCdnKey.Builder builderForValue)

The configuration for a Media CDN key.

.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;

Parameter
Name Description
builderForValue MediaCdnKey.Builder
Returns
Type Description
CdnKey.Builder

setName(String value)

public CdnKey.Builder setName(String value)

The resource name of the CDN key, in the form of projects/{project}/locations/{location}/cdnKeys/{id}. The name is ignored when creating a CDN key.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CdnKey.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CdnKey.Builder setNameBytes(ByteString value)

The resource name of the CDN key, in the form of projects/{project}/locations/{location}/cdnKeys/{id}. The name is ignored when creating a CDN key.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CdnKey.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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