Send feedback
Class BiReservation.Builder (2.1.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.4 keyboard_arrow_down
public static final class BiReservation . Builder extends GeneratedMessageV3 . Builder<BiReservation . Builder > implements BiReservationOrBuilder
Represents a BI Reservation.
Protobuf type google.cloud.bigquery.reservation.v1.BiReservation
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BiReservation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public BiReservation build ()
Returns
buildPartial()
public BiReservation buildPartial ()
Returns
clear()
public BiReservation . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BiReservation . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearName()
public BiReservation . Builder clearName ()
The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BiReservation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSize()
public BiReservation . Builder clearSize ()
Size of a reservation, in bytes.
int64 size = 4;
Returns
clearUpdateTime()
public BiReservation . Builder clearUpdateTime ()
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public BiReservation . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public BiReservation getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getName()
The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
string name = 1;
Returns
Type Description String The name.
getNameBytes()
public ByteString getNameBytes ()
The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
string name = 1;
Returns
getSize()
Size of a reservation, in bytes.
int64 size = 4;
Returns
Type Description long The size.
getUpdateTime()
public Timestamp getUpdateTime ()
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeBuilder()
public Timestamp . Builder getUpdateTimeBuilder ()
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder ()
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasUpdateTime()
public boolean hasUpdateTime ()
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description boolean Whether the updateTime field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(BiReservation other)
public BiReservation . Builder mergeFrom ( BiReservation other )
Parameter
Returns
public BiReservation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BiReservation . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BiReservation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public BiReservation . Builder mergeUpdateTime ( Timestamp value )
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BiReservation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setName(String value)
public BiReservation . Builder setName ( String value )
The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
string name = 1;
Parameter
Name Description value String
The name to set.
Returns
setNameBytes(ByteString value)
public BiReservation . Builder setNameBytes ( ByteString value )
The resource name of the singleton BI reservation.
Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
string name = 1;
Parameter
Name Description value ByteString
The bytes for name to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BiReservation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSize(long value)
public BiReservation . Builder setSize ( long value )
Size of a reservation, in bytes.
int64 size = 4;
Parameter
Name Description value long
The size to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BiReservation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public BiReservation . Builder setUpdateTime ( Timestamp value )
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public BiReservation . Builder setUpdateTime ( Timestamp . Builder builderForValue )
Output only. The last update timestamp of a reservation.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name Description builderForValue Builder
Returns
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]