Interface HttpRequestOrBuilder (2.45.0)

public interface HttpRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract ByteString getBody()

HTTP request body.

bytes body = 5;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Header

getHeadersCount()

public abstract int getHeadersCount()

The HTTP request headers.

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

Returns
Type Description
int

getHeadersList()

public abstract List<Header> getHeadersList()

The HTTP request headers.

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

Returns
Type Description
List<Header>

getHeadersOrBuilder(int index)

public abstract HeaderOrBuilder getHeadersOrBuilder(int index)

The HTTP request headers.

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

Parameter
Name Description
index int
Returns
Type Description
HeaderOrBuilder

getHeadersOrBuilderList()

public abstract List<? extends HeaderOrBuilder> getHeadersOrBuilderList()

The HTTP request headers.

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

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

getId()

public abstract String getId()

A unique identifier for the request.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

A unique identifier for the request.

string id = 1;

Returns
Type Description
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
Type Description
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

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

string method = 2;

Returns
Type Description
ByteString

The bytes for method.

getUrl()

public abstract Url getUrl()

The HTTP request URL.

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

Returns
Type Description
Url

The url.

getUrlOrBuilder()

public abstract UrlOrBuilder getUrlOrBuilder()

The HTTP request URL.

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

Returns
Type Description
UrlOrBuilder

hasUrl()

public abstract boolean hasUrl()

The HTTP request URL.

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

Returns
Type Description
boolean

Whether the url field is set.