[[["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.HeaderMatchOrBuilder (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.HeaderMatchOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatchOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatchOrBuilder) \n\n public static interface GrpcRoute.HeaderMatchOrBuilder 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### getKey()\n\n public abstract String getKey()\n\nRequired. The key of the header.\n\n`string key = 2;`\n\n### getKeyBytes()\n\n public abstract ByteString getKeyBytes()\n\nRequired. The key of the header.\n\n`string key = 2;`\n\n### getType()\n\n public abstract GrpcRoute.HeaderMatch.Type getType()\n\nOptional. Specifies how to match against the value of the header. If not\nspecified, a default value of EXACT is used.\n\n`.google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1;`\n\n### getTypeValue()\n\n public abstract int getTypeValue()\n\nOptional. Specifies how to match against the value of the header. If not\nspecified, a default value of EXACT is used.\n\n`.google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1;`\n\n### getValue()\n\n public abstract String getValue()\n\nRequired. The value of the header.\n\n`string value = 3;`\n\n### getValueBytes()\n\n public abstract ByteString getValueBytes()\n\nRequired. The value of the header.\n\n`string value = 3;`"]]