Interface HttpTarget.HeaderOrBuilder (2.28.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
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The key of the header.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getValue()

public abstract String getValue()

The value of the header.

string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

The value of the header.

string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.