Interface HttpRequestOrBuilder (2.40.0)

public interface HttpRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract ByteString getBody()

HTTP request body.

bytes body = 5;

Returns
TypeDescription
ByteString

The body.

getHeaders(int index)

public abstract Header getHeaders(int index)

The HTTP request headers.

repeated .google.cloud.apigeeconnect.v1.Header headers = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Header

getHeadersCount()

public abstract int getHeadersCount()

The HTTP request headers.

repeated .google.cloud.apigeeconnect.v1.Header headers = 4;

Returns
TypeDescription
int

getHeadersList()

public abstract List<Header> getHeadersList()

The HTTP request headers.

repeated .google.cloud.apigeeconnect.v1.Header headers = 4;

Returns
TypeDescription
List<Header>

getHeadersOrBuilder(int index)

public abstract HeaderOrBuilder getHeadersOrBuilder(int index)

The HTTP request headers.

repeated .google.cloud.apigeeconnect.v1.Header headers = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
HeaderOrBuilder

getHeadersOrBuilderList()

public abstract List<? extends HeaderOrBuilder> getHeadersOrBuilderList()

The HTTP request headers.

repeated .google.cloud.apigeeconnect.v1.Header headers = 4;

Returns
TypeDescription
List<? extends com.google.cloud.apigeeconnect.v1.HeaderOrBuilder>

getId()

public abstract String getId()

A unique identifier for the request.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

A unique identifier for the request.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getMethod()

public abstract String getMethod()

The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".

string method = 2;

Returns
TypeDescription
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".

string method = 2;

Returns
TypeDescription
ByteString

The bytes for method.

getUrl()

public abstract Url getUrl()

The HTTP request URL.

.google.cloud.apigeeconnect.v1.Url url = 3;

Returns
TypeDescription
Url

The url.

getUrlOrBuilder()

public abstract UrlOrBuilder getUrlOrBuilder()

The HTTP request URL.

.google.cloud.apigeeconnect.v1.Url url = 3;

Returns
TypeDescription
UrlOrBuilder

hasUrl()

public abstract boolean hasUrl()

The HTTP request URL.

.google.cloud.apigeeconnect.v1.Url url = 3;

Returns
TypeDescription
boolean

Whether the url field is set.