- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.6
- 0.1.2
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CdnKeyImplements
CdnKeyOrBuilderStatic 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 |
MEDIA_CDN_KEY_FIELD_NUMBER
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()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CdnKey.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CdnKey.Builder |
newBuilder(CdnKey prototype)
public static CdnKey.Builder newBuilder(CdnKey prototype)
Parameter | |
---|---|
Name | Description |
prototype | CdnKey |
Returns | |
---|---|
Type | Description |
CdnKey.Builder |
parseDelimitedFrom(InputStream input)
public static CdnKey parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CdnKey parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CdnKey parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CdnKey parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CdnKey parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CdnKey parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CdnKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CdnKey> parser()
Returns | |
---|---|
Type | Description |
Parser<CdnKey> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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. |
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 |
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. |
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. |
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. |
getParserForType()
public Parser<CdnKey> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CdnKey> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CdnKey.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CdnKey.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CdnKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
CdnKey.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CdnKey.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CdnKey.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |