- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.1
- 2.1.5
public static final class HttpRequest.Builder extends GeneratedMessageV3.Builder<HttpRequest.Builder> implements HttpRequestOrBuilder
The proto definition of http request.
Protobuf type google.cloud.apigeeconnect.v1.HttpRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HttpRequest.BuilderImplements
HttpRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllHeaders(Iterable<? extends Header> values)
public HttpRequest.Builder addAllHeaders(Iterable<? extends Header> values)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.apigeeconnect.v1.Header> |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
addHeaders(Header value)
public HttpRequest.Builder addHeaders(Header value)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
value | Header |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
addHeaders(Header.Builder builderForValue)
public HttpRequest.Builder addHeaders(Header.Builder builderForValue)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Header.Builder |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
addHeaders(int index, Header value)
public HttpRequest.Builder addHeaders(int index, Header value)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Header |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
addHeaders(int index, Header.Builder builderForValue)
public HttpRequest.Builder addHeaders(int index, Header.Builder builderForValue)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Header.Builder |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
addHeadersBuilder()
public Header.Builder addHeadersBuilder()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Returns | |
---|---|
Type | Description |
Header.Builder |
addHeadersBuilder(int index)
public Header.Builder addHeadersBuilder(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Header.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
build()
public HttpRequest build()
Returns | |
---|---|
Type | Description |
HttpRequest |
buildPartial()
public HttpRequest buildPartial()
Returns | |
---|---|
Type | Description |
HttpRequest |
clear()
public HttpRequest.Builder clear()
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
clearBody()
public HttpRequest.Builder clearBody()
HTTP request body.
bytes body = 5;
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HttpRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
clearHeaders()
public HttpRequest.Builder clearHeaders()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
clearId()
public HttpRequest.Builder clearId()
A unique identifier for the request.
string id = 1;
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
clearMethod()
public HttpRequest.Builder clearMethod()
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
string method = 2;
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
clearUrl()
public HttpRequest.Builder clearUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
clone()
public HttpRequest.Builder clone()
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
getBody()
public ByteString getBody()
HTTP request body.
bytes body = 5;
Returns | |
---|---|
Type | Description |
ByteString | The body. |
getDefaultInstanceForType()
public HttpRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HttpRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHeaders(int index)
public 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 |
getHeadersBuilder(int index)
public Header.Builder getHeadersBuilder(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Header.Builder |
getHeadersBuilderList()
public List<Header.Builder> getHeadersBuilderList()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getHeadersCount()
public int getHeadersCount()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Returns | |
---|---|
Type | Description |
int |
getHeadersList()
public List<Header> getHeadersList()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Returns | |
---|---|
Type | Description |
List<Header> |
getHeadersOrBuilder(int index)
public 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 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 String getId()
A unique identifier for the request.
string id = 1;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
A unique identifier for the request.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getMethod()
public 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 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 Url getUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Returns | |
---|---|
Type | Description |
Url | The url. |
getUrlBuilder()
public Url.Builder getUrlBuilder()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Returns | |
---|---|
Type | Description |
Url.Builder |
getUrlOrBuilder()
public UrlOrBuilder getUrlOrBuilder()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Returns | |
---|---|
Type | Description |
UrlOrBuilder |
hasUrl()
public boolean hasUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the url field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HttpRequest other)
public HttpRequest.Builder mergeFrom(HttpRequest other)
Parameter | |
---|---|
Name | Description |
other | HttpRequest |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HttpRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
mergeUrl(Url value)
public HttpRequest.Builder mergeUrl(Url value)
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Parameter | |
---|---|
Name | Description |
value | Url |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
removeHeaders(int index)
public HttpRequest.Builder removeHeaders(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setBody(ByteString value)
public HttpRequest.Builder setBody(ByteString value)
HTTP request body.
bytes body = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The body to set. |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HttpRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setHeaders(int index, Header value)
public HttpRequest.Builder setHeaders(int index, Header value)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Header |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setHeaders(int index, Header.Builder builderForValue)
public HttpRequest.Builder setHeaders(int index, Header.Builder builderForValue)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Header.Builder |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setId(String value)
public HttpRequest.Builder setId(String value)
A unique identifier for the request.
string id = 1;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public HttpRequest.Builder setIdBytes(ByteString value)
A unique identifier for the request.
string id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setMethod(String value)
public HttpRequest.Builder setMethod(String value)
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
string method = 2;
Parameter | |
---|---|
Name | Description |
value | String The method to set. |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setMethodBytes(ByteString value)
public HttpRequest.Builder setMethodBytes(ByteString value)
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
string method = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for method to set. |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setUrl(Url value)
public HttpRequest.Builder setUrl(Url value)
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Parameter | |
---|---|
Name | Description |
value | Url |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |
setUrl(Url.Builder builderForValue)
public HttpRequest.Builder setUrl(Url.Builder builderForValue)
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Url.Builder |
Returns | |
---|---|
Type | Description |
HttpRequest.Builder |