Package com.google.cloud.tasks.v2beta2
Interface BufferTaskRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BufferTaskRequest
,BufferTaskRequest.Builder
public interface BufferTaskRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.api.HttpBody
getBody()
Optional.com.google.api.HttpBodyOrBuilder
getBodyOrBuilder()
Optional.String
getQueue()
Required.com.google.protobuf.ByteString
getQueueBytes()
Required.String
getTaskId()
Optional.com.google.protobuf.ByteString
getTaskIdBytes()
Optional.boolean
hasBody()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getQueue
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:
- The queue.
-
getQueueBytes
com.google.protobuf.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:
- The bytes for queue.
-
getTaskId
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:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.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:
- The bytes for taskId.
-
hasBody
boolean hasBody()
Optional. Body of the HTTP request. The body can take any generic value. The value is written to the [HttpRequest][payload] of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the body field is set.
-
getBody
com.google.api.HttpBody getBody()
Optional. Body of the HTTP request. The body can take any generic value. The value is written to the [HttpRequest][payload] of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The body.
-
getBodyOrBuilder
com.google.api.HttpBodyOrBuilder getBodyOrBuilder()
Optional. Body of the HTTP request. The body can take any generic value. The value is written to the [HttpRequest][payload] of the [Task].
.google.api.HttpBody body = 3 [(.google.api.field_behavior) = OPTIONAL];
-
-