public static final class ReservationGroup.Builder extends GeneratedMessage.Builder<ReservationGroup.Builder> implements ReservationGroupOrBuilderA reservation group is a container for reservations.
Protobuf type google.cloud.bigquery.reservation.v1.ReservationGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReservationGroup.BuilderImplements
ReservationGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReservationGroup build()| Returns | |
|---|---|
| Type | Description |
ReservationGroup |
|
buildPartial()
public ReservationGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
ReservationGroup |
|
clear()
public ReservationGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
clearCreationTime()
public ReservationGroup.Builder clearCreationTime()Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
clearName()
public ReservationGroup.Builder clearName() Identifier. The resource name of the reservation group, e.g.,
projects/*/locations/*/reservationGroups/team1-prod.
The reservation_group_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 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
clearParentGroup()
public ReservationGroup.Builder clearParentGroup() Optional. The parent reservation group of the reservation group.
Format: projects/*/locations/*/reservationGroups/team1-prod for non-root
reservation groups, or projects/*/locations/* for root reservation
groups.
string parent_group = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
clearUpdateTime()
public ReservationGroup.Builder clearUpdateTime()Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
getCreationTime()
public Timestamp getCreationTime()Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The creationTime. |
getCreationTimeBuilder()
public Timestamp.Builder getCreationTimeBuilder()Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreationTimeOrBuilder()
public TimestampOrBuilder getCreationTimeOrBuilder()Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ReservationGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReservationGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Identifier. The resource name of the reservation group, e.g.,
projects/*/locations/*/reservationGroups/team1-prod.
The reservation_group_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 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the reservation group, e.g.,
projects/*/locations/*/reservationGroups/team1-prod.
The reservation_group_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 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParentGroup()
public String getParentGroup() Optional. The parent reservation group of the reservation group.
Format: projects/*/locations/*/reservationGroups/team1-prod for non-root
reservation groups, or projects/*/locations/* for root reservation
groups.
string parent_group = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parentGroup. |
getParentGroupBytes()
public ByteString getParentGroupBytes() Optional. The parent reservation group of the reservation group.
Format: projects/*/locations/*/reservationGroups/team1-prod for non-root
reservation groups, or projects/*/locations/* for root reservation
groups.
string parent_group = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parentGroup. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreationTime()
public boolean hasCreationTime()Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creationTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreationTime(Timestamp value)
public ReservationGroup.Builder mergeCreationTime(Timestamp value)Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
mergeFrom(ReservationGroup other)
public ReservationGroup.Builder mergeFrom(ReservationGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
ReservationGroup |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReservationGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReservationGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
mergeUpdateTime(Timestamp value)
public ReservationGroup.Builder mergeUpdateTime(Timestamp value)Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
setCreationTime(Timestamp value)
public ReservationGroup.Builder setCreationTime(Timestamp value)Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
setCreationTime(Timestamp.Builder builderForValue)
public ReservationGroup.Builder setCreationTime(Timestamp.Builder builderForValue)Output only. Creation time of the reservation group.
.google.protobuf.Timestamp creation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
setName(String value)
public ReservationGroup.Builder setName(String value) Identifier. The resource name of the reservation group, e.g.,
projects/*/locations/*/reservationGroups/team1-prod.
The reservation_group_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 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReservationGroup.Builder setNameBytes(ByteString value) Identifier. The resource name of the reservation group, e.g.,
projects/*/locations/*/reservationGroups/team1-prod.
The reservation_group_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 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
setParentGroup(String value)
public ReservationGroup.Builder setParentGroup(String value) Optional. The parent reservation group of the reservation group.
Format: projects/*/locations/*/reservationGroups/team1-prod for non-root
reservation groups, or projects/*/locations/* for root reservation
groups.
string parent_group = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parentGroup to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
setParentGroupBytes(ByteString value)
public ReservationGroup.Builder setParentGroupBytes(ByteString value) Optional. The parent reservation group of the reservation group.
Format: projects/*/locations/*/reservationGroups/team1-prod for non-root
reservation groups, or projects/*/locations/* for root reservation
groups.
string parent_group = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parentGroup to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public ReservationGroup.Builder setUpdateTime(Timestamp value)Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public ReservationGroup.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Last update time of the reservation group via a user operation. This timestamp is updated only when an update operation explicitly targets this reservation group directly. It is not updated when parent or child groups are created, updated, or deleted.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationGroup.Builder |
|