Interface GrpcRoute.MethodMatchOrBuilder (0.15.0)

public static interface GrpcRoute.MethodMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaseSensitive()

public abstract boolean getCaseSensitive()

Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.

optional bool case_sensitive = 4;

Returns
TypeDescription
boolean

The caseSensitive.

getGrpcMethod()

public abstract String getGrpcMethod()

Required. Name of the method to match against. If unspecified, will match all methods.

string grpc_method = 3;

Returns
TypeDescription
String

The grpcMethod.

getGrpcMethodBytes()

public abstract ByteString getGrpcMethodBytes()

Required. Name of the method to match against. If unspecified, will match all methods.

string grpc_method = 3;

Returns
TypeDescription
ByteString

The bytes for grpcMethod.

getGrpcService()

public abstract String getGrpcService()

Required. Name of the service to match against. If unspecified, will match all services.

string grpc_service = 2;

Returns
TypeDescription
String

The grpcService.

getGrpcServiceBytes()

public abstract ByteString getGrpcServiceBytes()

Required. Name of the service to match against. If unspecified, will match all services.

string grpc_service = 2;

Returns
TypeDescription
ByteString

The bytes for grpcService.

getType()

public abstract GrpcRoute.MethodMatch.Type getType()

Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.

.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;

Returns
TypeDescription
GrpcRoute.MethodMatch.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.

.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasCaseSensitive()

public abstract boolean hasCaseSensitive()

Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.

optional bool case_sensitive = 4;

Returns
TypeDescription
boolean

Whether the caseSensitive field is set.