public static final class GoogleCdnKey.Builder extends GeneratedMessage.Builder<GoogleCdnKey.Builder> implements GoogleCdnKeyOrBuilderConfiguration for a Google Cloud CDN key.
Protobuf type google.cloud.video.stitcher.v1.GoogleCdnKey
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GoogleCdnKey.BuilderImplements
GoogleCdnKeyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GoogleCdnKey build()| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey |
|
buildPartial()
public GoogleCdnKey buildPartial()| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey |
|
clear()
public GoogleCdnKey.Builder clear()| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
|
clearKeyName()
public GoogleCdnKey.Builder clearKeyName()The public name of the Google Cloud CDN key.
string key_name = 2;
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
This builder for chaining. |
clearPrivateKey()
public GoogleCdnKey.Builder clearPrivateKey()Input only. Secret for this Google Cloud CDN key.
bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GoogleCdnKey getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeyName()
public String getKeyName()The public name of the Google Cloud CDN key.
string key_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The keyName. |
getKeyNameBytes()
public ByteString getKeyNameBytes()The public name of the Google Cloud CDN key.
string key_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for keyName. |
getPrivateKey()
public ByteString getPrivateKey()Input only. Secret for this Google Cloud CDN key.
bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The privateKey. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GoogleCdnKey other)
public GoogleCdnKey.Builder mergeFrom(GoogleCdnKey other)| Parameter | |
|---|---|
| Name | Description |
other |
GoogleCdnKey |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GoogleCdnKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GoogleCdnKey.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
|
setKeyName(String value)
public GoogleCdnKey.Builder setKeyName(String value)The public name of the Google Cloud CDN key.
string key_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe keyName to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
This builder for chaining. |
setKeyNameBytes(ByteString value)
public GoogleCdnKey.Builder setKeyNameBytes(ByteString value)The public name of the Google Cloud CDN key.
string key_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for keyName to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
This builder for chaining. |
setPrivateKey(ByteString value)
public GoogleCdnKey.Builder setPrivateKey(ByteString value)Input only. Secret for this Google Cloud CDN key.
bytes private_key = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe privateKey to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleCdnKey.Builder |
This builder for chaining. |