Interface CustomAPIHeaderKeyValueOrBuilder (0.37.0)

public interface CustomAPIHeaderKeyValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. Enter the name of the HTTP Request header (e.g., Authorization or X-API-Key).

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

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. Enter the name of the HTTP Request header (e.g., Authorization or X-API-Key).

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

Returns
Type Description
ByteString

The bytes for key.

getValue()

public abstract String getValue()

Required. Enter the API Key, Bearer Token, or credential value associated with the header.

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

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Required. Enter the API Key, Bearer Token, or credential value associated with the header.

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

Returns
Type Description
ByteString

The bytes for value.