Interface HttpTarget.HeaderOrBuilder (2.42.0)

public static interface HttpTarget.HeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The Key of the header.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The Key of the header.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValue()

public abstract String getValue()

The Value of the header.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

The Value of the header.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.