- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.3.1
- 2.2.7
- 2.1.4
public final class Reservation extends GeneratedMessageV3 implements ReservationOrBuilder
A reservation is a mechanism used to guarantee slots to users.
Protobuf type google.cloud.bigquery.reservation.v1.Reservation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReservationImplements
ReservationOrBuilderFields
CREATION_TIME_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
Type | Description |
int |
IGNORE_IDLE_SLOTS_FIELD_NUMBER
public static final int IGNORE_IDLE_SLOTS_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
SLOT_CAPACITY_FIELD_NUMBER
public static final int SLOT_CAPACITY_FIELD_NUMBER
Type | Description |
int |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCreationTime()
public Timestamp getCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The creationTime. |
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstance()
public static Reservation getDefaultInstance()
Type | Description |
Reservation |
getDefaultInstanceForType()
public Reservation getDefaultInstanceForType()
Type | Description |
Reservation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Type | Description |
boolean | The ignoreIdleSlots. |
getName()
public String getName()
The resource name of the reservation, e.g.,
projects/*/locations/*/reservations/team1-prod
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the reservation, e.g.,
projects/*/locations/*/reservations/team1-prod
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<Reservation> getParserForType()
Type | Description |
Parser<Reservation> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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 the new reservation's slot capacity exceed the parent's slot capacity or
if total slot capacity of the new reservation and its siblings exceeds the
parent's slot capacity, the request will fail with
google.rpc.Code.RESOURCE_EXHAUSTED
.
int64 slot_capacity = 2;
Type | Description |
long | The slotCapacity. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreationTime()
public boolean hasCreationTime()
Output only. Creation time of the reservation.
.google.protobuf.Timestamp creation_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the creationTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Last update time of the reservation.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Reservation.Builder newBuilder()
Type | Description |
Reservation.Builder |
newBuilder(Reservation prototype)
public static Reservation.Builder newBuilder(Reservation prototype)
Name | Description |
prototype | Reservation |
Type | Description |
Reservation.Builder |
newBuilderForType()
public Reservation.Builder newBuilderForType()
Type | Description |
Reservation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Reservation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Reservation.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Reservation parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Reservation |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Reservation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Reservation parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Reservation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Reservation parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reservation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Reservation parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Reservation |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Reservation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Reservation parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Reservation |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Reservation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Reservation parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Reservation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Reservation |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Reservation> parser()
Type | Description |
Parser<Reservation> |
toBuilder()
public Reservation.Builder toBuilder()
Type | Description |
Reservation.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |