Interface GrpcRoute.HeaderMatchOrBuilder (0.2.0)

public static interface GrpcRoute.HeaderMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. The key of the header.

string key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. The key of the header.

string key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for key.

getType()

public abstract 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
Type Description
GrpcRoute.HeaderMatch.Type

The type.

getTypeValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for type.

getValue()

public abstract String getValue()

Required. The value of the header.

string value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Required. The value of the header.

string value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for value.