Interface CreateQueueRequestOrBuilder (2.11.0)

publicinterface CreateQueueRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

publicabstractStringgetParent()

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()

publicabstractByteStringgetParentBytes()

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()

publicabstractQueuegetQueue()

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
Type Description
Queue

The queue.

getQueueOrBuilder()

publicabstractQueueOrBuildergetQueueOrBuilder()

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
Type Description

hasQueue()

publicabstractbooleanhasQueue()

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
Type Description
boolean

Whether the queue field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.