Interface GrpcRoute.MethodMatchOrBuilder (0.10.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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the caseSensitive field is set.