Interface GrpcRoute.MethodMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcRoute.MethodMatch,GrpcRoute.MethodMatch.Builder
- Enclosing class:
- GrpcRoute
public static interface GrpcRoute.MethodMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getType()Optional.intOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeValue
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:
- The enum numeric value on the wire for type.
-
getType
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:
- The type.
-
getGrpcService
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:
- The grpcService.
-
getGrpcServiceBytes
com.google.protobuf.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:
- The bytes for grpcService.
-
getGrpcMethod
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:
- The grpcMethod.
-
getGrpcMethodBytes
com.google.protobuf.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:
- The bytes for grpcMethod.
-
hasCaseSensitive
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:
- Whether the caseSensitive field is set.
-
getCaseSensitive
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:
- The caseSensitive.
-