Interface CacheInvalidationRuleOrBuilder

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

@Generated public interface CacheInvalidationRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCacheTags(int index)
    A list of cache tags used to identify cached objects
    com.google.protobuf.ByteString
    getCacheTagsBytes(int index)
    A list of cache tags used to identify cached objects
    int
    A list of cache tags used to identify cached objects
    A list of cache tags used to identify cached objects
    If set, this invalidation rule will only apply to requests with a Host header matching host.
    com.google.protobuf.ByteString
    If set, this invalidation rule will only apply to requests with a Host header matching host.
    optional string path = 3433509;
    com.google.protobuf.ByteString
    optional string path = 3433509;
    boolean
    If set, this invalidation rule will only apply to requests with a Host header matching host.
    boolean
    optional string path = 3433509;

    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

    • getCacheTagsList

      List<String> getCacheTagsList()
       A list of cache tags used to identify cached objects.
      
      
       - Cache tags are specified when the response is first cached, by setting
       the `Cache-Tag` response header at the origin.
       - Multiple cache tags in the same invalidation request are treated as
       Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.
       - If other fields are also specified, these are treated as Boolean `AND`
       with any tags.
      
      
       Up to 10 tags can be specified in a single invalidation request.
       
      repeated string cache_tags = 29073078;
      Returns:
      A list containing the cacheTags.
    • getCacheTagsCount

      int getCacheTagsCount()
       A list of cache tags used to identify cached objects.
      
      
       - Cache tags are specified when the response is first cached, by setting
       the `Cache-Tag` response header at the origin.
       - Multiple cache tags in the same invalidation request are treated as
       Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.
       - If other fields are also specified, these are treated as Boolean `AND`
       with any tags.
      
      
       Up to 10 tags can be specified in a single invalidation request.
       
      repeated string cache_tags = 29073078;
      Returns:
      The count of cacheTags.
    • getCacheTags

      String getCacheTags(int index)
       A list of cache tags used to identify cached objects.
      
      
       - Cache tags are specified when the response is first cached, by setting
       the `Cache-Tag` response header at the origin.
       - Multiple cache tags in the same invalidation request are treated as
       Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.
       - If other fields are also specified, these are treated as Boolean `AND`
       with any tags.
      
      
       Up to 10 tags can be specified in a single invalidation request.
       
      repeated string cache_tags = 29073078;
      Parameters:
      index - The index of the element to return.
      Returns:
      The cacheTags at the given index.
    • getCacheTagsBytes

      com.google.protobuf.ByteString getCacheTagsBytes(int index)
       A list of cache tags used to identify cached objects.
      
      
       - Cache tags are specified when the response is first cached, by setting
       the `Cache-Tag` response header at the origin.
       - Multiple cache tags in the same invalidation request are treated as
       Boolean `OR` - for example, `tag1 OR tag2 OR tag3`.
       - If other fields are also specified, these are treated as Boolean `AND`
       with any tags.
      
      
       Up to 10 tags can be specified in a single invalidation request.
       
      repeated string cache_tags = 29073078;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the cacheTags at the given index.
    • hasHost

      boolean hasHost()
       If set, this invalidation rule will only apply to requests with a Host
       header matching host.
       
      optional string host = 3208616;
      Returns:
      Whether the host field is set.
    • getHost

      String getHost()
       If set, this invalidation rule will only apply to requests with a Host
       header matching host.
       
      optional string host = 3208616;
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       If set, this invalidation rule will only apply to requests with a Host
       header matching host.
       
      optional string host = 3208616;
      Returns:
      The bytes for host.
    • hasPath

      boolean hasPath()
      optional string path = 3433509;
      Returns:
      Whether the path field is set.
    • getPath

      String getPath()
      optional string path = 3433509;
      Returns:
      The path.
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
      optional string path = 3433509;
      Returns:
      The bytes for path.