[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface GrpcRoute.MethodMatchOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatchOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatchOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatchOrBuilder) \n\n public static interface GrpcRoute.MethodMatchOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCaseSensitive()\n\n public abstract boolean getCaseSensitive()\n\nOptional. Specifies that matches are case sensitive. The default value\nis true. case_sensitive must not be used with a type of\nREGULAR_EXPRESSION.\n\n`optional bool case_sensitive = 4;`\n\n### getGrpcMethod()\n\n public abstract String getGrpcMethod()\n\nRequired. Name of the method to match against. If unspecified, will match\nall methods.\n\n`string grpc_method = 3;`\n\n### getGrpcMethodBytes()\n\n public abstract ByteString getGrpcMethodBytes()\n\nRequired. Name of the method to match against. If unspecified, will match\nall methods.\n\n`string grpc_method = 3;`\n\n### getGrpcService()\n\n public abstract String getGrpcService()\n\nRequired. Name of the service to match against. If unspecified, will\nmatch all services.\n\n`string grpc_service = 2;`\n\n### getGrpcServiceBytes()\n\n public abstract ByteString getGrpcServiceBytes()\n\nRequired. Name of the service to match against. If unspecified, will\nmatch all services.\n\n`string grpc_service = 2;`\n\n### getType()\n\n public abstract GrpcRoute.MethodMatch.Type getType()\n\nOptional. Specifies how to match against the name. If not specified, a\ndefault value of \"EXACT\" is used.\n\n`.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;`\n\n### getTypeValue()\n\n public abstract int getTypeValue()\n\nOptional. Specifies how to match against the name. If not specified, a\ndefault value of \"EXACT\" is used.\n\n`.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;`\n\n### hasCaseSensitive()\n\n public abstract boolean hasCaseSensitive()\n\nOptional. Specifies that matches are case sensitive. The default value\nis true. case_sensitive must not be used with a type of\nREGULAR_EXPRESSION.\n\n`optional bool case_sensitive = 4;`"]]