public final class MediaCdnKey extends GeneratedMessageV3 implements MediaCdnKeyOrBuilder
Configuration for a Media CDN key.
Protobuf type google.cloud.video.stitcher.v1.MediaCdnKey
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MediaCdnKeyImplements
MediaCdnKeyOrBuilderStatic Fields
KEY_NAME_FIELD_NUMBER
public static final int KEY_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TOKEN_CONFIG_FIELD_NUMBER
public static final int TOKEN_CONFIG_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MediaCdnKey getDefaultInstance()
Returns | |
---|---|
Type | Description |
MediaCdnKey |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static MediaCdnKey.Builder newBuilder()
Returns | |
---|---|
Type | Description |
MediaCdnKey.Builder |
newBuilder(MediaCdnKey prototype)
public static MediaCdnKey.Builder newBuilder(MediaCdnKey prototype)
Parameter | |
---|---|
Name | Description |
prototype |
MediaCdnKey |
Returns | |
---|---|
Type | Description |
MediaCdnKey.Builder |
parseDelimitedFrom(InputStream input)
public static MediaCdnKey parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static MediaCdnKey parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MediaCdnKey parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MediaCdnKey parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static MediaCdnKey parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MediaCdnKey parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MediaCdnKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MediaCdnKey |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MediaCdnKey> parser()
Returns | |
---|---|
Type | Description |
Parser<MediaCdnKey> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public MediaCdnKey getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MediaCdnKey |
getKeyName()
public String getKeyName()
The keyset name of the Media CDN key.
string key_name = 2;
Returns | |
---|---|
Type | Description |
String |
The keyName. |
getKeyNameBytes()
public ByteString getKeyNameBytes()
The keyset name of the Media CDN key.
string key_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for keyName. |
getParserForType()
public Parser<MediaCdnKey> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MediaCdnKey> |
getPrivateKey()
public ByteString getPrivateKey()
Input only. 64-byte ed25519 private key for this Media CDN key.
bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The privateKey. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getTokenConfig()
public MediaCdnKey.TokenConfig getTokenConfig()
Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.
.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MediaCdnKey.TokenConfig |
The tokenConfig. |
getTokenConfigOrBuilder()
public MediaCdnKey.TokenConfigOrBuilder getTokenConfigOrBuilder()
Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.
.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MediaCdnKey.TokenConfigOrBuilder |
hasTokenConfig()
public boolean hasTokenConfig()
Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.
.google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig token_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the tokenConfig 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 MediaCdnKey.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
MediaCdnKey.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MediaCdnKey.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
MediaCdnKey.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public MediaCdnKey.Builder toBuilder()
Returns | |
---|---|
Type | Description |
MediaCdnKey.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |