public static final class CdnKey.Builder extends GeneratedMessage.Builder<CdnKey.Builder> implements CdnKeyOrBuilderConfiguration 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CdnKey.BuilderImplements
CdnKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CdnKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CdnKey.Builder |
|
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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CdnKey.Builder |
This builder for chaining. |