Interface BufferTaskRequestOrBuilder (2.29.0)

public interface BufferTaskRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract 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
TypeDescription
com.google.api.HttpBody

The body.

getBodyOrBuilder()

public abstract 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
TypeDescription
com.google.api.HttpBodyOrBuilder

getQueue()

public abstract 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
TypeDescription
String

The queue.

getQueueBytes()

public abstract 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
TypeDescription
ByteString

The bytes for queue.

getTaskId()

public abstract 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
TypeDescription
String

The taskId.

getTaskIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for taskId.

hasBody()

public abstract 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
TypeDescription
boolean

Whether the body field is set.