public static final class GetRegionCommitmentRequest.Builder extends GeneratedMessageV3.Builder<GetRegionCommitmentRequest.Builder> implements GetRegionCommitmentRequestOrBuilderA request message for RegionCommitments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionCommitmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetRegionCommitmentRequest.BuilderImplements
GetRegionCommitmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetRegionCommitmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
build()
public GetRegionCommitmentRequest build()| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest |
|
buildPartial()
public GetRegionCommitmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest |
|
clear()
public GetRegionCommitmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
clearCommitment()
public GetRegionCommitmentRequest.Builder clearCommitment()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GetRegionCommitmentRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public GetRegionCommitmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
clearProject()
public GetRegionCommitmentRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
clearRegion()
public GetRegionCommitmentRequest.Builder clearRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
clone()
public GetRegionCommitmentRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
getCommitment()
public String getCommitment()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The commitment. |
getCommitmentBytes()
public ByteString getCommitmentBytes()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitment. |
getDefaultInstanceForType()
public GetRegionCommitmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRegion()
public String getRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetRegionCommitmentRequest other)
public GetRegionCommitmentRequest.Builder mergeFrom(GetRegionCommitmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetRegionCommitmentRequest |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRegionCommitmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetRegionCommitmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetRegionCommitmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
setCommitment(String value)
public GetRegionCommitmentRequest.Builder setCommitment(String value)Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe commitment to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setCommitmentBytes(ByteString value)
public GetRegionCommitmentRequest.Builder setCommitmentBytes(ByteString value)Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for commitment to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GetRegionCommitmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
setProject(String value)
public GetRegionCommitmentRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetRegionCommitmentRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetRegionCommitmentRequest.Builder setRegion(String value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetRegionCommitmentRequest.Builder setRegionBytes(ByteString value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetRegionCommitmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GetRegionCommitmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetRegionCommitmentRequest.Builder |
|