Interface UrlDispatchRuleOrBuilder (2.39.0)

public interface UrlDispatchRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDomain()

public abstract String getDomain()

Domain name to match against. The wildcard "" is supported if specified before a period: ".".

Defaults to matching all domains: "*".

string domain = 1;

Returns
TypeDescription
String

The domain.

getDomainBytes()

public abstract ByteString getDomainBytes()

Domain name to match against. The wildcard "" is supported if specified before a period: ".".

Defaults to matching all domains: "*".

string domain = 1;

Returns
TypeDescription
ByteString

The bytes for domain.

getPath()

public abstract String getPath()

Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.

The sum of the lengths of the domain and path may not exceed 100 characters.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.

The sum of the lengths of the domain and path may not exceed 100 characters.

string path = 2;

Returns
TypeDescription
ByteString

The bytes for path.

getService()

public abstract String getService()

Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.

string service = 3;

Returns
TypeDescription
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.

string service = 3;

Returns
TypeDescription
ByteString

The bytes for service.