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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
Returns |
Type |
Description |
CdnKey |
|
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)
Returns |
Type |
Description |
CdnKey |
|
public static CdnKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
parseFrom(byte[] data)
public static CdnKey parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
CdnKey |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
parseFrom(ByteString data)
public static CdnKey parseFrom(ByteString data)
Returns |
Type |
Description |
CdnKey |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
public static CdnKey parseFrom(CodedInputStream input)
Returns |
Type |
Description |
CdnKey |
|
public static CdnKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
public static CdnKey parseFrom(InputStream input)
Returns |
Type |
Description |
CdnKey |
|
public static CdnKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
parseFrom(ByteBuffer data)
public static CdnKey parseFrom(ByteBuffer data)
Returns |
Type |
Description |
CdnKey |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CdnKey |
|
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()
Returns |
Type |
Description |
CdnKey |
|
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
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CdnKey.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides