Class CdnKey.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
com.google.cloud.video.stitcher.v1.CdnKey.Builder
- All Implemented Interfaces:
CdnKeyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CdnKey
public static final class CdnKey.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The configuration for an Akamai CDN key.The configuration for a Google Cloud CDN key.The hostname this key applies to.The configuration for a Media CDN key.The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`.The configuration for an Akamai CDN key.The configuration for an Akamai CDN key.The configuration for an Akamai CDN key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe configuration for a Google Cloud CDN key.The configuration for a Google Cloud CDN key.The configuration for a Google Cloud CDN key.The hostname this key applies to.com.google.protobuf.ByteStringThe hostname this key applies to.The configuration for a Media CDN key.The configuration for a Media CDN key.The configuration for a Media CDN key.getName()The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`.com.google.protobuf.ByteStringThe resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`.booleanThe configuration for an Akamai CDN key.booleanThe configuration for a Google Cloud CDN key.booleanThe configuration for a Media CDN key.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAkamaiCdnKey(AkamaiCdnKey value) The configuration for an Akamai CDN key.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGoogleCdnKey(GoogleCdnKey value) The configuration for a Google Cloud CDN key.mergeMediaCdnKey(MediaCdnKey value) The configuration for a Media CDN key.setAkamaiCdnKey(AkamaiCdnKey value) The configuration for an Akamai CDN key.setAkamaiCdnKey(AkamaiCdnKey.Builder builderForValue) The configuration for an Akamai CDN key.setGoogleCdnKey(GoogleCdnKey value) The configuration for a Google Cloud CDN key.setGoogleCdnKey(GoogleCdnKey.Builder builderForValue) The configuration for a Google Cloud CDN key.setHostname(String value) The hostname this key applies to.setHostnameBytes(com.google.protobuf.ByteString value) The hostname this key applies to.setMediaCdnKey(MediaCdnKey value) The configuration for a Media CDN key.setMediaCdnKey(MediaCdnKey.Builder builderForValue) The configuration for a Media CDN key.The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`.setNameBytes(com.google.protobuf.ByteString value) The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CdnKey.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CdnKey.Builder>
-
mergeFrom
public CdnKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CdnKey.Builder>- Throws:
IOException
-
getCdnKeyConfigCase
- Specified by:
getCdnKeyConfigCasein interfaceCdnKeyOrBuilder
-
clearCdnKeyConfig
-
hasGoogleCdnKey
public boolean hasGoogleCdnKey()The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;- Specified by:
hasGoogleCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- Whether the googleCdnKey field is set.
-
getGoogleCdnKey
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;- Specified by:
getGoogleCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- The googleCdnKey.
-
setGoogleCdnKey
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5; -
setGoogleCdnKey
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5; -
mergeGoogleCdnKey
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5; -
clearGoogleCdnKey
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5; -
getGoogleCdnKeyBuilder
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5; -
getGoogleCdnKeyOrBuilder
The configuration for a Google Cloud CDN key.
.google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;- Specified by:
getGoogleCdnKeyOrBuilderin interfaceCdnKeyOrBuilder
-
hasAkamaiCdnKey
public boolean hasAkamaiCdnKey()The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;- Specified by:
hasAkamaiCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- Whether the akamaiCdnKey field is set.
-
getAkamaiCdnKey
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;- Specified by:
getAkamaiCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- The akamaiCdnKey.
-
setAkamaiCdnKey
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6; -
setAkamaiCdnKey
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6; -
mergeAkamaiCdnKey
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6; -
clearAkamaiCdnKey
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6; -
getAkamaiCdnKeyBuilder
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6; -
getAkamaiCdnKeyOrBuilder
The configuration for an Akamai CDN key.
.google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;- Specified by:
getAkamaiCdnKeyOrBuilderin interfaceCdnKeyOrBuilder
-
hasMediaCdnKey
public boolean hasMediaCdnKey()The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;- Specified by:
hasMediaCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- Whether the mediaCdnKey field is set.
-
getMediaCdnKey
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;- Specified by:
getMediaCdnKeyin interfaceCdnKeyOrBuilder- Returns:
- The mediaCdnKey.
-
setMediaCdnKey
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8; -
setMediaCdnKey
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8; -
mergeMediaCdnKey
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8; -
clearMediaCdnKey
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8; -
getMediaCdnKeyBuilder
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8; -
getMediaCdnKeyOrBuilder
The configuration for a Media CDN key.
.google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;- Specified by:
getMediaCdnKeyOrBuilderin interfaceCdnKeyOrBuilder
-
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;- Specified by:
getNamein interfaceCdnKeyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceCdnKeyOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getHostname
The hostname this key applies to.
string hostname = 4;- Specified by:
getHostnamein interfaceCdnKeyOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()The hostname this key applies to.
string hostname = 4;- Specified by:
getHostnameBytesin interfaceCdnKeyOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
The hostname this key applies to.
string hostname = 4;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
The hostname this key applies to.
string hostname = 4;- Returns:
- This builder for chaining.
-
setHostnameBytes
The hostname this key applies to.
string hostname = 4;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-