Interface CreateQueueRequestOrBuilder (2.18.0)

public interface CreateQueueRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The location name in which the queue will be created. For example: projects/PROJECT_ID/locations/LOCATION_ID The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The location name in which the queue will be created. For example: projects/PROJECT_ID/locations/LOCATION_ID The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getQueue()

public abstract Queue getQueue()

Required. The queue to create. Queue's name cannot be the same as an existing queue.

.google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Queue

The queue.

getQueueOrBuilder()

public abstract QueueOrBuilder getQueueOrBuilder()

Required. The queue to create. Queue's name cannot be the same as an existing queue.

.google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QueueOrBuilder

hasQueue()

public abstract boolean hasQueue()

Required. The queue to create. Queue's name cannot be the same as an existing queue.

.google.cloud.tasks.v2beta3.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the queue field is set.