Package | Description |
---|---|
com.google.cloud.tasks.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest.Builder |
HttpRequest.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
HttpRequest.Builder |
HttpRequest.Builder.clear() |
HttpRequest.Builder |
HttpRequest.Builder.clearAuthorizationHeader() |
HttpRequest.Builder |
HttpRequest.Builder.clearBody()
HTTP request body.
|
HttpRequest.Builder |
HttpRequest.Builder.clearField(Descriptors.FieldDescriptor field) |
HttpRequest.Builder |
HttpRequest.Builder.clearHeaders() |
HttpRequest.Builder |
HttpRequest.Builder.clearHttpMethod()
The HTTP method to use for the request.
|
HttpRequest.Builder |
HttpRequest.Builder.clearOauthToken()
If specified, an
[OAuth token](https://developers.google.com/identity/protocols/OAuth2)
will be generated and attached as an `Authorization` header in the HTTP
request.
|
HttpRequest.Builder |
HttpRequest.Builder.clearOidcToken()
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
HttpRequest.Builder |
HttpRequest.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
HttpRequest.Builder |
HttpRequest.Builder.clearUrl()
Required.
|
HttpRequest.Builder |
HttpRequest.Builder.clone() |
HttpRequest.Builder |
Task.Builder.getHttpRequestBuilder()
HTTP request that is sent to the worker.
|
HttpRequest.Builder |
HttpRequest.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
HttpRequest.Builder |
HttpRequest.Builder.mergeFrom(HttpRequest other) |
HttpRequest.Builder |
HttpRequest.Builder.mergeFrom(Message other) |
HttpRequest.Builder |
HttpRequest.Builder.mergeOauthToken(OAuthToken value)
If specified, an
[OAuth token](https://developers.google.com/identity/protocols/OAuth2)
will be generated and attached as an `Authorization` header in the HTTP
request.
|
HttpRequest.Builder |
HttpRequest.Builder.mergeOidcToken(OidcToken value)
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
HttpRequest.Builder |
HttpRequest.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static HttpRequest.Builder |
HttpRequest.newBuilder() |
static HttpRequest.Builder |
HttpRequest.newBuilder(HttpRequest prototype) |
HttpRequest.Builder |
HttpRequest.newBuilderForType() |
protected HttpRequest.Builder |
HttpRequest.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
HttpRequest.Builder |
HttpRequest.Builder.putAllHeaders(Map<String,String> values)
HTTP request headers.
|
HttpRequest.Builder |
HttpRequest.Builder.putHeaders(String key,
String value)
HTTP request headers.
|
HttpRequest.Builder |
HttpRequest.Builder.removeHeaders(String key)
HTTP request headers.
|
HttpRequest.Builder |
HttpRequest.Builder.setBody(ByteString value)
HTTP request body.
|
HttpRequest.Builder |
HttpRequest.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
HttpRequest.Builder |
HttpRequest.Builder.setHttpMethod(HttpMethod value)
The HTTP method to use for the request.
|
HttpRequest.Builder |
HttpRequest.Builder.setHttpMethodValue(int value)
The HTTP method to use for the request.
|
HttpRequest.Builder |
HttpRequest.Builder.setOauthToken(OAuthToken.Builder builderForValue)
If specified, an
[OAuth token](https://developers.google.com/identity/protocols/OAuth2)
will be generated and attached as an `Authorization` header in the HTTP
request.
|
HttpRequest.Builder |
HttpRequest.Builder.setOauthToken(OAuthToken value)
If specified, an
[OAuth token](https://developers.google.com/identity/protocols/OAuth2)
will be generated and attached as an `Authorization` header in the HTTP
request.
|
HttpRequest.Builder |
HttpRequest.Builder.setOidcToken(OidcToken.Builder builderForValue)
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
HttpRequest.Builder |
HttpRequest.Builder.setOidcToken(OidcToken value)
If specified, an
[OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
token will be generated and attached as an `Authorization` header in the
HTTP request.
|
HttpRequest.Builder |
HttpRequest.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpRequest.Builder |
HttpRequest.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
HttpRequest.Builder |
HttpRequest.Builder.setUrl(String value)
Required.
|
HttpRequest.Builder |
HttpRequest.Builder.setUrlBytes(ByteString value)
Required.
|
HttpRequest.Builder |
HttpRequest.toBuilder() |
Modifier and Type | Method and Description |
---|---|
Task.Builder |
Task.Builder.setHttpRequest(HttpRequest.Builder builderForValue)
HTTP request that is sent to the worker.
|
Copyright © 2022 Google LLC. All rights reserved.