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()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetRegionCommitmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
GetRegionCommitmentRequest.Builder |
build()
public GetRegionCommitmentRequest build()| Type | Description |
GetRegionCommitmentRequest |
buildPartial()
public GetRegionCommitmentRequest buildPartial()| Type | Description |
GetRegionCommitmentRequest |
clear()
public GetRegionCommitmentRequest.Builder clear()| Type | Description |
GetRegionCommitmentRequest.Builder |
clearCommitment()
public GetRegionCommitmentRequest.Builder clearCommitment()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GetRegionCommitmentRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
GetRegionCommitmentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetRegionCommitmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
GetRegionCommitmentRequest.Builder |
clearProject()
public GetRegionCommitmentRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| 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];
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
clone()
public GetRegionCommitmentRequest.Builder clone()| Type | Description |
GetRegionCommitmentRequest.Builder |
getCommitment()
public String getCommitment()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
String |
The commitment. |
getCommitmentBytes()
public ByteString getCommitmentBytes()Name of the commitment to return.
string commitment = 482134805 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
ByteString |
The bytes for commitment. |
getDefaultInstanceForType()
public GetRegionCommitmentRequest getDefaultInstanceForType()| Type | Description |
GetRegionCommitmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| 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];
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
ByteString |
The bytes for region. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(GetRegionCommitmentRequest other)
public GetRegionCommitmentRequest.Builder mergeFrom(GetRegionCommitmentRequest other)| Name | Description |
other |
GetRegionCommitmentRequest |
| Type | Description |
GetRegionCommitmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRegionCommitmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
GetRegionCommitmentRequest.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public GetRegionCommitmentRequest.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
GetRegionCommitmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetRegionCommitmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| 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];
| Name | Description |
value |
StringThe commitment to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for commitment to set. |
| Type | Description |
GetRegionCommitmentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GetRegionCommitmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| 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];
| Name | Description |
value |
StringThe project to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| 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];
| Name | Description |
value |
StringThe region to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| 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)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
GetRegionCommitmentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetRegionCommitmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
GetRegionCommitmentRequest.Builder |