- 2.54.0 (latest)
- 2.53.0
- 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()
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;
Name | Description |
values | Iterable<? extends com.google.cloud.apigeeconnect.v1.Header> |
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;
Name | Description |
value | Header |
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;
Name | Description |
builderForValue | Header.Builder |
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;
Name | Description |
index | int |
value | Header |
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;
Name | Description |
index | int |
builderForValue | Header.Builder |
Type | Description |
HttpRequest.Builder |
addHeadersBuilder()
public Header.Builder addHeadersBuilder()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
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;
Name | Description |
index | int |
Type | Description |
Header.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HttpRequest.Builder |
build()
public HttpRequest build()
Type | Description |
HttpRequest |
buildPartial()
public HttpRequest buildPartial()
Type | Description |
HttpRequest |
clear()
public HttpRequest.Builder clear()
Type | Description |
HttpRequest.Builder |
clearBody()
public HttpRequest.Builder clearBody()
HTTP request body.
bytes body = 5;
Type | Description |
HttpRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HttpRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HttpRequest.Builder |
clearHeaders()
public HttpRequest.Builder clearHeaders()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Type | Description |
HttpRequest.Builder |
clearId()
public HttpRequest.Builder clearId()
A unique identifier for the request.
string id = 1;
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;
Type | Description |
HttpRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HttpRequest.Builder |
clearUrl()
public HttpRequest.Builder clearUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Type | Description |
HttpRequest.Builder |
clone()
public HttpRequest.Builder clone()
Type | Description |
HttpRequest.Builder |
getBody()
public ByteString getBody()
HTTP request body.
bytes body = 5;
Type | Description |
ByteString | The body. |
getDefaultInstanceForType()
public HttpRequest getDefaultInstanceForType()
Type | Description |
HttpRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHeaders(int index)
public Header getHeaders(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Name | Description |
index | int |
Type | Description |
Header |
getHeadersBuilder(int index)
public Header.Builder getHeadersBuilder(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Name | Description |
index | int |
Type | Description |
Header.Builder |
getHeadersBuilderList()
public List<Header.Builder> getHeadersBuilderList()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Type | Description |
List<Builder> |
getHeadersCount()
public int getHeadersCount()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Type | Description |
int |
getHeadersList()
public List<Header> getHeadersList()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Type | Description |
List<Header> |
getHeadersOrBuilder(int index)
public HeaderOrBuilder getHeadersOrBuilder(int index)
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Name | Description |
index | int |
Type | Description |
HeaderOrBuilder |
getHeadersOrBuilderList()
public List<? extends HeaderOrBuilder> getHeadersOrBuilderList()
The HTTP request headers.
repeated .google.cloud.apigeeconnect.v1.Header headers = 4;
Type | Description |
List<? extends com.google.cloud.apigeeconnect.v1.HeaderOrBuilder> |
getId()
public String getId()
A unique identifier for the request.
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
A unique identifier for the request.
string id = 1;
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;
Type | Description |
String | The method. |
getMethodBytes()
public ByteString getMethodBytes()
The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".
string method = 2;
Type | Description |
ByteString | The bytes for method. |
getUrl()
public Url getUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Type | Description |
Url | The url. |
getUrlBuilder()
public Url.Builder getUrlBuilder()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Type | Description |
Url.Builder |
getUrlOrBuilder()
public UrlOrBuilder getUrlOrBuilder()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Type | Description |
UrlOrBuilder |
hasUrl()
public boolean hasUrl()
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Type | Description |
boolean | Whether the url field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(HttpRequest other)
public HttpRequest.Builder mergeFrom(HttpRequest other)
Name | Description |
other | HttpRequest |
Type | Description |
HttpRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HttpRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HttpRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HttpRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HttpRequest.Builder |
mergeUrl(Url value)
public HttpRequest.Builder mergeUrl(Url value)
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Name | Description |
value | Url |
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;
Name | Description |
index | int |
Type | Description |
HttpRequest.Builder |
setBody(ByteString value)
public HttpRequest.Builder setBody(ByteString value)
HTTP request body.
bytes body = 5;
Name | Description |
value | ByteString The body to set. |
Type | Description |
HttpRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HttpRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
index | int |
value | Header |
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;
Name | Description |
index | int |
builderForValue | Header.Builder |
Type | Description |
HttpRequest.Builder |
setId(String value)
public HttpRequest.Builder setId(String value)
A unique identifier for the request.
string id = 1;
Name | Description |
value | String The id to set. |
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;
Name | Description |
value | ByteString The bytes for id to set. |
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;
Name | Description |
value | String The method to set. |
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;
Name | Description |
value | ByteString The bytes for method to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HttpRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HttpRequest.Builder |
setUrl(Url value)
public HttpRequest.Builder setUrl(Url value)
The HTTP request URL.
.google.cloud.apigeeconnect.v1.Url url = 3;
Name | Description |
value | Url |
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;
Name | Description |
builderForValue | Url.Builder |
Type | Description |
HttpRequest.Builder |