Interface GrpcRoute.HeaderMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcRoute.HeaderMatch,GrpcRoute.HeaderMatch.Builder
- Enclosing class:
- GrpcRoute
public static interface GrpcRoute.HeaderMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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 value of the header. If not specified, a default value of EXACT is used.
.google.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for type.
-
getType
GrpcRoute.HeaderMatch.Type getType()Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
.google.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The type.
-
getKey
String getKey()Required. The key of the header.
string key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Required. The key of the header.
string key = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for key.
-
getValue
String getValue()Required. The value of the header.
string value = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Required. The value of the header.
string value = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for value.
-