Interface CacheInvalidationRuleOrBuilder (1.20.0)

public interface CacheInvalidationRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHost()

public abstract String getHost()

If set, this invalidation rule will only apply to requests with a Host header matching host.

optional string host = 3208616;

Returns
TypeDescription
String

The host.

getHostBytes()

public abstract ByteString getHostBytes()

If set, this invalidation rule will only apply to requests with a Host header matching host.

optional string host = 3208616;

Returns
TypeDescription
ByteString

The bytes for host.

getPath()

public abstract String getPath()

optional string path = 3433509;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

optional string path = 3433509;

Returns
TypeDescription
ByteString

The bytes for path.

hasHost()

public abstract boolean hasHost()

If set, this invalidation rule will only apply to requests with a Host header matching host.

optional string host = 3208616;

Returns
TypeDescription
boolean

Whether the host field is set.

hasPath()

public abstract boolean hasPath()

optional string path = 3433509;

Returns
TypeDescription
boolean

Whether the path field is set.