public static final class GetVersionReservationSlotRequest.Builder extends GeneratedMessage.Builder<GetVersionReservationSlotRequest.Builder> implements GetVersionReservationSlotRequestOrBuilderA request message for ReservationSlots.GetVersion. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVersionReservationSlotRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetVersionReservationSlotRequest.BuilderImplements
GetVersionReservationSlotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetVersionReservationSlotRequest build()| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest |
|
buildPartial()
public GetVersionReservationSlotRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest |
|
clear()
public GetVersionReservationSlotRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
clearParentName()
public GetVersionReservationSlotRequest.Builder clearParentName()The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
clearProject()
public GetVersionReservationSlotRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
clearRequestId()
public GetVersionReservationSlotRequest.Builder clearRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
clearReservationSlot()
public GetVersionReservationSlotRequest.Builder clearReservationSlot()The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
clearReservationSlotsGetVersionRequestResource()
public GetVersionReservationSlotRequest.Builder clearReservationSlotsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
clearZone()
public GetVersionReservationSlotRequest.Builder clearZone()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetVersionReservationSlotRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParentName()
public String getParentName()The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The parentName. |
getParentNameBytes()
public ByteString getParentNameBytes()The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parentName. |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRequestId()
public String getRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getReservationSlot()
public String getReservationSlot()The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The reservationSlot. |
getReservationSlotBytes()
public ByteString getReservationSlotBytes()The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationSlot. |
getReservationSlotsGetVersionRequestResource()
public ReservationSlotsGetVersionRequest getReservationSlotsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsGetVersionRequest |
The reservationSlotsGetVersionRequestResource. |
getReservationSlotsGetVersionRequestResourceBuilder()
public ReservationSlotsGetVersionRequest.Builder getReservationSlotsGetVersionRequestResourceBuilder()The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsGetVersionRequest.Builder |
|
getReservationSlotsGetVersionRequestResourceOrBuilder()
public ReservationSlotsGetVersionRequestOrBuilder getReservationSlotsGetVersionRequestResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsGetVersionRequestOrBuilder |
|
getZone()
public String getZone()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasRequestId()
public boolean hasRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestId field is set. |
hasReservationSlotsGetVersionRequestResource()
public boolean hasReservationSlotsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservationSlotsGetVersionRequestResource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetVersionReservationSlotRequest other)
public GetVersionReservationSlotRequest.Builder mergeFrom(GetVersionReservationSlotRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetVersionReservationSlotRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetVersionReservationSlotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetVersionReservationSlotRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
mergeReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest value)
public GetVersionReservationSlotRequest.Builder mergeReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest value)The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotsGetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
setParentName(String value)
public GetVersionReservationSlotRequest.Builder setParentName(String value)The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parentName to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setParentNameBytes(ByteString value)
public GetVersionReservationSlotRequest.Builder setParentNameBytes(ByteString value)The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parentName to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetVersionReservationSlotRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetVersionReservationSlotRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public GetVersionReservationSlotRequest.Builder setRequestId(String value)An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public GetVersionReservationSlotRequest.Builder setRequestIdBytes(ByteString value)An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlot(String value)
public GetVersionReservationSlotRequest.Builder setReservationSlot(String value)The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlotBytes(ByteString value)
public GetVersionReservationSlotRequest.Builder setReservationSlotBytes(ByteString value)The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest value)
public GetVersionReservationSlotRequest.Builder setReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest value)The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotsGetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
setReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest.Builder builderForValue)
public GetVersionReservationSlotRequest.Builder setReservationSlotsGetVersionRequestResource(ReservationSlotsGetVersionRequest.Builder builderForValue)The body resource for this request
.google.cloud.compute.v1.ReservationSlotsGetVersionRequest reservation_slots_get_version_request_resource = 335316011 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReservationSlotsGetVersionRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
|
setZone(String value)
public GetVersionReservationSlotRequest.Builder setZone(String value)Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public GetVersionReservationSlotRequest.Builder setZoneBytes(ByteString value)Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionReservationSlotRequest.Builder |
This builder for chaining. |