Class CdnKey (0.7.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.7.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
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
Static Fields
   
  AKAMAI_CDN_KEY_FIELD_NUMBER 
  
    
public   static   final   int   AKAMAI_CDN_KEY_FIELD_NUMBER  
  Field Value 
  
  GOOGLE_CDN_KEY_FIELD_NUMBER 
  
    
public   static   final   int   GOOGLE_CDN_KEY_FIELD_NUMBER  
  Field Value 
  
  HOSTNAME_FIELD_NUMBER 
  
    
public   static   final   int   HOSTNAME_FIELD_NUMBER  
  Field Value 
  
  
  
    
public   static   final   int   MEDIA_CDN_KEY_FIELD_NUMBER  
  Field Value 
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   CdnKey   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   CdnKey . Builder   newBuilder ()  
  Returns 
  
  newBuilder(CdnKey prototype) 
  
    
public   static   CdnKey . Builder   newBuilder ( CdnKey   prototype )  
  Parameter 
  
    
      
        Name Description  
      
        prototype CdnKey  
     
  
  Returns 
  
  
    
public   static   CdnKey   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   CdnKey   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   CdnKey   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CdnKey   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   CdnKey   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CdnKey   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   CdnKey   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   CdnKey   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   CdnKey   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   CdnKey   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   CdnKey   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CdnKey   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<CdnKey>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getAkamaiCdnKey() 
  
    
public   AkamaiCdnKey   getAkamaiCdnKey ()  
   The configuration for an Akamai CDN key.
 .google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;
Returns 
  
  getAkamaiCdnKeyOrBuilder() 
  
    
public   AkamaiCdnKeyOrBuilder   getAkamaiCdnKeyOrBuilder ()  
   The configuration for an Akamai CDN key.
 .google.cloud.video.stitcher.v1.AkamaiCdnKey akamai_cdn_key = 6;
Returns 
  
  getCdnKeyConfigCase() 
  
    
public   CdnKey . CdnKeyConfigCase   getCdnKeyConfigCase ()  
  Returns 
  
  getDefaultInstanceForType() 
  
    
public   CdnKey   getDefaultInstanceForType ()  
  Returns 
  
  getGoogleCdnKey() 
  
    
public   GoogleCdnKey   getGoogleCdnKey ()  
   The configuration for a Google Cloud CDN key.
 .google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;
Returns 
  
  getGoogleCdnKeyOrBuilder() 
  
    
public   GoogleCdnKeyOrBuilder   getGoogleCdnKeyOrBuilder ()  
   The configuration for a Google Cloud CDN key.
 .google.cloud.video.stitcher.v1.GoogleCdnKey google_cdn_key = 5;
Returns 
  
  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;
Returns 
  
  
    
public   MediaCdnKeyOrBuilder   getMediaCdnKeyOrBuilder ()  
   The configuration for a Media CDN key.
 .google.cloud.video.stitcher.v1.MediaCdnKey media_cdn_key = 8;
Returns 
  
  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 
  
  getParserForType() 
  
    
public   Parser<CdnKey>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  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 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   CdnKey . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   CdnKey . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   CdnKey . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]