public final class Reservation extends com.google.protobuf.GeneratedMessageV3 implements ReservationOrBuilder
A reservation is a mechanism used to guarantee slots to users.Protobuf type
google.cloud.bigquery.reservation.v1.Reservation| Modifier and Type | Class and Description |
|---|---|
static class |
Reservation.Autoscale
Auto scaling settings.
|
static interface |
Reservation.AutoscaleOrBuilder |
static class |
Reservation.Builder
A reservation is a mechanism used to guarantee slots to users.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOSCALE_FIELD_NUMBER |
static int |
CONCURRENCY_FIELD_NUMBER |
static int |
CREATION_TIME_FIELD_NUMBER |
static int |
EDITION_FIELD_NUMBER |
static int |
IGNORE_IDLE_SLOTS_FIELD_NUMBER |
static int |
MULTI_REGION_AUXILIARY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SLOT_CAPACITY_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Reservation.Autoscale |
getAutoscale()
The configuration parameters for the auto scaling feature.
|
Reservation.AutoscaleOrBuilder |
getAutoscaleOrBuilder()
The configuration parameters for the auto scaling feature.
|
long |
getConcurrency()
Job concurrency target which sets a soft upper bound on the number of jobs
that can run concurrently in this reservation.
|
com.google.protobuf.Timestamp |
getCreationTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreationTimeOrBuilder()
Output only.
|
static Reservation |
getDefaultInstance() |
Reservation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Edition |
getEdition()
Edition of the reservation.
|
int |
getEditionValue()
Edition of the reservation.
|
boolean |
getIgnoreIdleSlots()
If false, any query or pipeline job using this reservation will use idle
slots from other reservations within the same admin project.
|
boolean |
getMultiRegionAuxiliary()
Applicable only for reservations located within one of the BigQuery
multi-regions (US or EU).
|
String |
getName()
The resource name of the reservation, e.g.,
`projects/*/locations/*/reservations/team1-prod`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the reservation, e.g.,
`projects/*/locations/*/reservations/team1-prod`.
|
com.google.protobuf.Parser<Reservation> |
getParserForType() |
int |
getSerializedSize() |
long |
getSlotCapacity()
Minimum slots available to this reservation.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAutoscale()
The configuration parameters for the auto scaling feature.
|
boolean |
hasCreationTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Reservation.Builder |
newBuilder() |
static Reservation.Builder |
newBuilder(Reservation prototype) |
Reservation.Builder |
newBuilderForType() |
protected Reservation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Reservation |
parseDelimitedFrom(InputStream input) |
static Reservation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reservation |
parseFrom(byte[] data) |
static Reservation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reservation |
parseFrom(ByteBuffer data) |
static Reservation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reservation |
parseFrom(com.google.protobuf.ByteString data) |
static Reservation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reservation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Reservation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Reservation |
parseFrom(InputStream input) |
static Reservation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Reservation> |
parser() |
Reservation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SLOT_CAPACITY_FIELD_NUMBER
public static final int IGNORE_IDLE_SLOTS_FIELD_NUMBER
public static final int AUTOSCALE_FIELD_NUMBER
public static final int CONCURRENCY_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int MULTI_REGION_AUXILIARY_FIELD_NUMBER
public static final int EDITION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1;getName in interface ReservationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. The reservation_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1;getNameBytes in interface ReservationOrBuilderpublic long getSlotCapacity()
Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false. If total slot_capacity of the reservation and its siblings exceeds the total slot_count of all capacity commitments, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. NOTE: for reservations in US or EU multi-regions, slot capacity constraints are checked separately for default and auxiliary regions. See multi_region_auxiliary flag for more details.
int64 slot_capacity = 2;getSlotCapacity in interface ReservationOrBuilderpublic boolean getIgnoreIdleSlots()
If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.
bool ignore_idle_slots = 4;getIgnoreIdleSlots in interface ReservationOrBuilderpublic boolean hasAutoscale()
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;hasAutoscale in interface ReservationOrBuilderpublic Reservation.Autoscale getAutoscale()
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;getAutoscale in interface ReservationOrBuilderpublic Reservation.AutoscaleOrBuilder getAutoscaleOrBuilder()
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;getAutoscaleOrBuilder in interface ReservationOrBuilderpublic long getConcurrency()
Job concurrency target which sets a soft upper bound on the number of jobs that can run concurrently in this reservation. This is a soft target due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency target will be automatically computed by the system. NOTE: this field is exposed as `target_job_concurrency` in the Information Schema, DDL and BQ CLI.
int64 concurrency = 16;getConcurrency in interface ReservationOrBuilderpublic boolean hasCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreationTime in interface ReservationOrBuilderpublic com.google.protobuf.Timestamp getCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTime in interface ReservationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationTimeOrBuilder in interface ReservationOrBuilderpublic boolean hasUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ReservationOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface ReservationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface ReservationOrBuilderpublic boolean getMultiRegionAuxiliary()
Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
bool multi_region_auxiliary = 14;getMultiRegionAuxiliary in interface ReservationOrBuilderpublic int getEditionValue()
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;getEditionValue in interface ReservationOrBuilderpublic Edition getEdition()
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;getEdition in interface ReservationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Reservation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Reservation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Reservation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Reservation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Reservation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Reservation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Reservation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Reservation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Reservation.Builder newBuilder()
public static Reservation.Builder newBuilder(Reservation prototype)
public Reservation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Reservation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Reservation getDefaultInstance()
public static com.google.protobuf.Parser<Reservation> parser()
public com.google.protobuf.Parser<Reservation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Reservation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.