Class Reservation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
- com.google.cloud.bigquery.reservation.v1.Reservation.Builder
-
- All Implemented Interfaces:
ReservationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Reservation
public static final class Reservation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder> implements ReservationOrBuilder
A reservation is a mechanism used to guarantee slots to users.
Protobuf typegoogle.cloud.bigquery.reservation.v1.Reservation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Reservation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Reservationbuild()ReservationbuildPartial()Reservation.Builderclear()Reservation.BuilderclearAutoscale()The configuration parameters for the auto scaling feature.Reservation.BuilderclearConcurrency()Job concurrency target which sets a soft upper bound on the number of jobs that can run concurrently in this reservation.Reservation.BuilderclearCreationTime()Output only.Reservation.BuilderclearEdition()Edition of the reservation.Reservation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Reservation.BuilderclearIgnoreIdleSlots()If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project.Reservation.BuilderclearMultiRegionAuxiliary()Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).Reservation.BuilderclearName()The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.Reservation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Reservation.BuilderclearSlotCapacity()Minimum slots available to this reservation.Reservation.BuilderclearUpdateTime()Output only.Reservation.Builderclone()Reservation.AutoscalegetAutoscale()The configuration parameters for the auto scaling feature.Reservation.Autoscale.BuildergetAutoscaleBuilder()The configuration parameters for the auto scaling feature.Reservation.AutoscaleOrBuildergetAutoscaleOrBuilder()The configuration parameters for the auto scaling feature.longgetConcurrency()Job concurrency target which sets a soft upper bound on the number of jobs that can run concurrently in this reservation.com.google.protobuf.TimestampgetCreationTime()Output only.com.google.protobuf.Timestamp.BuildergetCreationTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreationTimeOrBuilder()Output only.ReservationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EditiongetEdition()Edition of the reservation.intgetEditionValue()Edition of the reservation.booleangetIgnoreIdleSlots()If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project.booleangetMultiRegionAuxiliary()Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).StringgetName()The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.com.google.protobuf.ByteStringgetNameBytes()The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.longgetSlotCapacity()Minimum slots available to this reservation.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAutoscale()The configuration parameters for the auto scaling feature.booleanhasCreationTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Reservation.BuildermergeAutoscale(Reservation.Autoscale value)The configuration parameters for the auto scaling feature.Reservation.BuildermergeCreationTime(com.google.protobuf.Timestamp value)Output only.Reservation.BuildermergeFrom(Reservation other)Reservation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Reservation.BuildermergeFrom(com.google.protobuf.Message other)Reservation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Reservation.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Reservation.BuildersetAutoscale(Reservation.Autoscale value)The configuration parameters for the auto scaling feature.Reservation.BuildersetAutoscale(Reservation.Autoscale.Builder builderForValue)The configuration parameters for the auto scaling feature.Reservation.BuildersetConcurrency(long value)Job concurrency target which sets a soft upper bound on the number of jobs that can run concurrently in this reservation.Reservation.BuildersetCreationTime(com.google.protobuf.Timestamp value)Output only.Reservation.BuildersetCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Reservation.BuildersetEdition(Edition value)Edition of the reservation.Reservation.BuildersetEditionValue(int value)Edition of the reservation.Reservation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Reservation.BuildersetIgnoreIdleSlots(boolean value)If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project.Reservation.BuildersetMultiRegionAuxiliary(boolean value)Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).Reservation.BuildersetName(String value)The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.Reservation.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.Reservation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Reservation.BuildersetSlotCapacity(long value)Minimum slots available to this reservation.Reservation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Reservation.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Reservation.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
clear
public Reservation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
getDefaultInstanceForType
public Reservation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Reservation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Reservation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Reservation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
setField
public Reservation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
clearField
public Reservation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
clearOneof
public Reservation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
setRepeatedField
public Reservation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
addRepeatedField
public Reservation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
mergeFrom
public Reservation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reservation.Builder>
-
mergeFrom
public Reservation.Builder mergeFrom(Reservation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
mergeFrom
public Reservation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Reservation.Builder>- Throws:
IOException
-
getName
public 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;- Specified by:
getNamein interfaceReservationOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceReservationOrBuilder- Returns:
- The bytes for name.
-
setName
public Reservation.Builder setName(String value)
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Reservation.Builder clearName()
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;- Returns:
- This builder for chaining.
-
setNameBytes
public Reservation.Builder setNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSlotCapacity
public 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;- Specified by:
getSlotCapacityin interfaceReservationOrBuilder- Returns:
- The slotCapacity.
-
setSlotCapacity
public Reservation.Builder setSlotCapacity(long value)
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;- Parameters:
value- The slotCapacity to set.- Returns:
- This builder for chaining.
-
clearSlotCapacity
public Reservation.Builder clearSlotCapacity()
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;- Returns:
- This builder for chaining.
-
getIgnoreIdleSlots
public 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;- Specified by:
getIgnoreIdleSlotsin interfaceReservationOrBuilder- Returns:
- The ignoreIdleSlots.
-
setIgnoreIdleSlots
public Reservation.Builder setIgnoreIdleSlots(boolean value)
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;- Parameters:
value- The ignoreIdleSlots to set.- Returns:
- This builder for chaining.
-
clearIgnoreIdleSlots
public Reservation.Builder clearIgnoreIdleSlots()
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;- Returns:
- This builder for chaining.
-
hasAutoscale
public 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;- Specified by:
hasAutoscalein interfaceReservationOrBuilder- Returns:
- Whether the autoscale field is set.
-
getAutoscale
public 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;- Specified by:
getAutoscalein interfaceReservationOrBuilder- Returns:
- The autoscale.
-
setAutoscale
public Reservation.Builder setAutoscale(Reservation.Autoscale value)
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;
-
setAutoscale
public Reservation.Builder setAutoscale(Reservation.Autoscale.Builder builderForValue)
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;
-
mergeAutoscale
public Reservation.Builder mergeAutoscale(Reservation.Autoscale value)
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;
-
clearAutoscale
public Reservation.Builder clearAutoscale()
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;
-
getAutoscaleBuilder
public Reservation.Autoscale.Builder getAutoscaleBuilder()
The configuration parameters for the auto scaling feature. Note this is an alpha feature.
.google.cloud.bigquery.reservation.v1.Reservation.Autoscale autoscale = 7;
-
getAutoscaleOrBuilder
public 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;- Specified by:
getAutoscaleOrBuilderin interfaceReservationOrBuilder
-
getConcurrency
public 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;- Specified by:
getConcurrencyin interfaceReservationOrBuilder- Returns:
- The concurrency.
-
setConcurrency
public Reservation.Builder setConcurrency(long value)
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;- Parameters:
value- The concurrency to set.- Returns:
- This builder for chaining.
-
clearConcurrency
public Reservation.Builder clearConcurrency()
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;- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreationTimein interfaceReservationOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimein interfaceReservationOrBuilder- Returns:
- The creationTime.
-
setCreationTime
public Reservation.Builder setCreationTime(com.google.protobuf.Timestamp value)
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreationTime
public Reservation.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreationTime
public Reservation.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreationTime
public Reservation.Builder clearCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimeOrBuilderin interfaceReservationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceReservationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceReservationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Reservation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Reservation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Reservation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Reservation.Builder clearUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceReservationOrBuilder
-
getMultiRegionAuxiliary
public 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;- Specified by:
getMultiRegionAuxiliaryin interfaceReservationOrBuilder- Returns:
- The multiRegionAuxiliary.
-
setMultiRegionAuxiliary
public Reservation.Builder setMultiRegionAuxiliary(boolean value)
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;- Parameters:
value- The multiRegionAuxiliary to set.- Returns:
- This builder for chaining.
-
clearMultiRegionAuxiliary
public Reservation.Builder clearMultiRegionAuxiliary()
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;- Returns:
- This builder for chaining.
-
getEditionValue
public int getEditionValue()
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;- Specified by:
getEditionValuein interfaceReservationOrBuilder- Returns:
- The enum numeric value on the wire for edition.
-
setEditionValue
public Reservation.Builder setEditionValue(int value)
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;- Parameters:
value- The enum numeric value on the wire for edition to set.- Returns:
- This builder for chaining.
-
getEdition
public Edition getEdition()
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;- Specified by:
getEditionin interfaceReservationOrBuilder- Returns:
- The edition.
-
setEdition
public Reservation.Builder setEdition(Edition value)
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;- Parameters:
value- The edition to set.- Returns:
- This builder for chaining.
-
clearEdition
public Reservation.Builder clearEdition()
Edition of the reservation.
.google.cloud.bigquery.reservation.v1.Edition edition = 17;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Reservation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
mergeUnknownFields
public final Reservation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>
-
-