- 2.84.0 (latest)
- 2.83.0
- 2.82.0
- 2.81.0
- 2.79.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 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 static final class CreateCapacityCommitmentRequest.Builder extends GeneratedMessage.Builder<CreateCapacityCommitmentRequest.Builder> implements CreateCapacityCommitmentRequestOrBuilderThe request for ReservationService.CreateCapacityCommitment.
Protobuf type google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCapacityCommitmentRequest.BuilderImplements
CreateCapacityCommitmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCapacityCommitmentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest |
|
buildPartial()
public CreateCapacityCommitmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest |
|
clear()
public CreateCapacityCommitmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
clearCapacityCommitment()
public CreateCapacityCommitmentRequest.Builder clearCapacityCommitment()Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
clearCapacityCommitmentId()
public CreateCapacityCommitmentRequest.Builder clearCapacityCommitmentId()The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
clearEnforceSingleAdminProjectPerOrg()
public CreateCapacityCommitmentRequest.Builder clearEnforceSingleAdminProjectPerOrg()If true, fail the request if another project in the organization has a capacity commitment.
bool enforce_single_admin_project_per_org = 4;
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
clearParent()
public CreateCapacityCommitmentRequest.Builder clearParent() Required. Resource name of the parent reservation. E.g.,
projects/myproject/locations/US
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
getCapacityCommitment()
public CapacityCommitment getCapacityCommitment()Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment |
The capacityCommitment. |
getCapacityCommitmentBuilder()
public CapacityCommitment.Builder getCapacityCommitmentBuilder()Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment.Builder |
|
getCapacityCommitmentId()
public String getCapacityCommitmentId()The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The capacityCommitmentId. |
getCapacityCommitmentIdBytes()
public ByteString getCapacityCommitmentIdBytes()The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for capacityCommitmentId. |
getCapacityCommitmentOrBuilder()
public CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Returns | |
|---|---|
| Type | Description |
CapacityCommitmentOrBuilder |
|
getDefaultInstanceForType()
public CreateCapacityCommitmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnforceSingleAdminProjectPerOrg()
public boolean getEnforceSingleAdminProjectPerOrg()If true, fail the request if another project in the organization has a capacity commitment.
bool enforce_single_admin_project_per_org = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enforceSingleAdminProjectPerOrg. |
getParent()
public String getParent() Required. Resource name of the parent reservation. E.g.,
projects/myproject/locations/US
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Resource name of the parent reservation. E.g.,
projects/myproject/locations/US
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCapacityCommitment()
public boolean hasCapacityCommitment()Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the capacityCommitment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCapacityCommitment(CapacityCommitment value)
public CreateCapacityCommitmentRequest.Builder mergeCapacityCommitment(CapacityCommitment value)Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityCommitment |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
mergeFrom(CreateCapacityCommitmentRequest other)
public CreateCapacityCommitmentRequest.Builder mergeFrom(CreateCapacityCommitmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCapacityCommitmentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCapacityCommitmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCapacityCommitmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
setCapacityCommitment(CapacityCommitment value)
public CreateCapacityCommitmentRequest.Builder setCapacityCommitment(CapacityCommitment value)Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityCommitment |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
setCapacityCommitment(CapacityCommitment.Builder builderForValue)
public CreateCapacityCommitmentRequest.Builder setCapacityCommitment(CapacityCommitment.Builder builderForValue)Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CapacityCommitment.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
|
setCapacityCommitmentId(String value)
public CreateCapacityCommitmentRequest.Builder setCapacityCommitmentId(String value)The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe capacityCommitmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
setCapacityCommitmentIdBytes(ByteString value)
public CreateCapacityCommitmentRequest.Builder setCapacityCommitmentIdBytes(ByteString value)The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for capacityCommitmentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
setEnforceSingleAdminProjectPerOrg(boolean value)
public CreateCapacityCommitmentRequest.Builder setEnforceSingleAdminProjectPerOrg(boolean value)If true, fail the request if another project in the organization has a capacity commitment.
bool enforce_single_admin_project_per_org = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enforceSingleAdminProjectPerOrg to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateCapacityCommitmentRequest.Builder setParent(String value) Required. Resource name of the parent reservation. E.g.,
projects/myproject/locations/US
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCapacityCommitmentRequest.Builder setParentBytes(ByteString value) Required. Resource name of the parent reservation. E.g.,
projects/myproject/locations/US
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCapacityCommitmentRequest.Builder |
This builder for chaining. |