Interface CdnLoopConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CdnLoopConfig, CdnLoopConfig.Builder

public interface CdnLoopConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The CDN identifier to use for loop checks and to append to the CDN-Loop header.
    com.google.protobuf.ByteString
    The CDN identifier to use for loop checks and to append to the CDN-Loop header.
    int
    The maximum allowed count of cdn_id in the downstream CDN-Loop request header.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getCdnId

      String getCdnId()
       The CDN identifier to use for loop checks and to append to the
       CDN-Loop header.
      
       RFC 8586 calls this the cdn-id. The cdn-id can either be a
       pseudonym or hostname the CDN is in control of.
      
       cdn_id must not be empty.
       
      string cdn_id = 1 [(.validate.rules) = { ... }
      Returns:
      The cdnId.
    • getCdnIdBytes

      com.google.protobuf.ByteString getCdnIdBytes()
       The CDN identifier to use for loop checks and to append to the
       CDN-Loop header.
      
       RFC 8586 calls this the cdn-id. The cdn-id can either be a
       pseudonym or hostname the CDN is in control of.
      
       cdn_id must not be empty.
       
      string cdn_id = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for cdnId.
    • getMaxAllowedOccurrences

      int getMaxAllowedOccurrences()
       The maximum allowed count of cdn_id in the downstream CDN-Loop
       request header.
      
       The default of 0 means a request can transit the CdnLoopFilter
       once. A value of 1 means that a request can transit the
       CdnLoopFilter twice and so on.
       
      uint32 max_allowed_occurrences = 2;
      Returns:
      The maxAllowedOccurrences.