Interface CacheInvalidationRuleOrBuilder (1.53.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
Type Description
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
Type Description
ByteString

The bytes for host.

getPath()

public abstract String getPath()

optional string path = 3433509;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

optional string path = 3433509;

Returns
Type Description
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
Type Description
boolean

Whether the host field is set.

hasPath()

public abstract boolean hasPath()

optional string path = 3433509;

Returns
Type Description
boolean

Whether the path field is set.