Interface CreateQueueRequestOrBuilder (2.52.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
Type Description
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
Type Description
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.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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.v2.Queue queue = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the queue field is set.