Send feedback
Class CdnKey (0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.0 keyboard_arrow_down
public final class CdnKey extends GeneratedMessageV3 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
Static Fields
AKAMAI_CDN_KEY_FIELD_NUMBER
public static final int AKAMAI_CDN_KEY_FIELD_NUMBER
Field Value Type Description int
GOOGLE_CDN_KEY_FIELD_NUMBER
public static final int GOOGLE_CDN_KEY_FIELD_NUMBER
Field Value Type Description int
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
Field Value Type Description int
public static final int MEDIA_CDN_KEY_FIELD_NUMBER
Field Value Type Description int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static CdnKey getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CdnKey . Builder newBuilder ()
newBuilder(CdnKey prototype)
public static CdnKey . Builder newBuilder ( CdnKey prototype )
Parameter Name Description prototype
CdnKey
public static CdnKey parseDelimitedFrom ( InputStream input )
public static CdnKey parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CdnKey parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CdnKey parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CdnKey parseFrom ( CodedInputStream input )
public static CdnKey parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CdnKey parseFrom ( InputStream input )
public static CdnKey parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CdnKey parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CdnKey> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getAkamaiCdnKey()
public AkamaiCdnKey getAkamaiCdnKey ()
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;
getAkamaiCdnKeyOrBuilder()
public AkamaiCdnKeyOrBuilder getAkamaiCdnKeyOrBuilder ()
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;
getCdnKeyConfigCase()
public CdnKey . CdnKeyConfigCase getCdnKeyConfigCase ()
getDefaultInstanceForType()
public CdnKey getDefaultInstanceForType ()
getGoogleCdnKey()
public GoogleCdnKey getGoogleCdnKey ()
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;
getGoogleCdnKeyOrBuilder()
public GoogleCdnKeyOrBuilder getGoogleCdnKeyOrBuilder ()
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;
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.
public MediaCdnKey getMediaCdnKey ()
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;
public MediaCdnKeyOrBuilder getMediaCdnKeyOrBuilder ()
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;
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.
getParserForType()
public Parser<CdnKey> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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.
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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CdnKey . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CdnKey . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public CdnKey . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-22 UTC."],[],[]]