Interface GrpcRoute.HeaderMatchOrBuilder (0.15.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;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. The key of the header.

string key = 2;

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.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1;

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.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch.Type type = 1;

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;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Required. The value of the header.

string value = 3;

Returns
Type Description
ByteString

The bytes for value.