- 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.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.12
- 2.2.0
- 2.1.11
public static final class BufferTaskRequest.Builder extends GeneratedMessageV3.Builder<BufferTaskRequest.Builder> implements BufferTaskRequestOrBuilder
Request message for BufferTask.
Protobuf type google.cloud.tasks.v2beta3.BufferTaskRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BufferTaskRequest.BuilderImplements
BufferTaskRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BufferTaskRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
build()
public BufferTaskRequest build()
Returns | |
---|---|
Type | Description |
BufferTaskRequest |
buildPartial()
public BufferTaskRequest buildPartial()
Returns | |
---|---|
Type | Description |
BufferTaskRequest |
clear()
public BufferTaskRequest.Builder clear()
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
clearBody()
public BufferTaskRequest.Builder clearBody()
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BufferTaskRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BufferTaskRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
clearQueue()
public BufferTaskRequest.Builder clearQueue()
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
string queue = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
clearTaskId()
public BufferTaskRequest.Builder clearTaskId()
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string task_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
clone()
public BufferTaskRequest.Builder clone()
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
getBody()
public HttpBody getBody()
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.api.HttpBody | The body. |
getBodyBuilder()
public HttpBody.Builder getBodyBuilder()
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.api.HttpBody.Builder |
getBodyOrBuilder()
public HttpBodyOrBuilder getBodyOrBuilder()
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.api.HttpBodyOrBuilder |
getDefaultInstanceForType()
public BufferTaskRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BufferTaskRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getQueue()
public String getQueue()
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
string queue = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The queue. |
getQueueBytes()
public ByteString getQueueBytes()
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
string queue = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for queue. |
getTaskId()
public String getTaskId()
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string task_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The taskId. |
getTaskIdBytes()
public ByteString getTaskIdBytes()
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string task_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for taskId. |
hasBody()
public boolean hasBody()
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the body field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBody(HttpBody value)
public BufferTaskRequest.Builder mergeBody(HttpBody value)
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | com.google.api.HttpBody |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
mergeFrom(BufferTaskRequest other)
public BufferTaskRequest.Builder mergeFrom(BufferTaskRequest other)
Parameter | |
---|---|
Name | Description |
other | BufferTaskRequest |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BufferTaskRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BufferTaskRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BufferTaskRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
setBody(HttpBody value)
public BufferTaskRequest.Builder setBody(HttpBody value)
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | com.google.api.HttpBody |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
setBody(HttpBody.Builder builderForValue)
public BufferTaskRequest.Builder setBody(HttpBody.Builder builderForValue)
Optional. Body of the HTTP request.
The body can take any generic value. The value is written to the HttpRequest of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.HttpBody.Builder |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BufferTaskRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
setQueue(String value)
public BufferTaskRequest.Builder setQueue(String value)
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
string queue = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The queue to set. |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
setQueueBytes(ByteString value)
public BufferTaskRequest.Builder setQueueBytes(ByteString value)
Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
The queue must already exist.
string queue = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for queue to set. |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BufferTaskRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |
setTaskId(String value)
public BufferTaskRequest.Builder setTaskId(String value)
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string task_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The taskId to set. |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
setTaskIdBytes(ByteString value)
public BufferTaskRequest.Builder setTaskIdBytes(ByteString value)
Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.
string task_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for taskId to set. |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BufferTaskRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BufferTaskRequest.Builder |