public static final class GetReservationSlotRequest.Builder extends GeneratedMessage.Builder<GetReservationSlotRequest.Builder> implements GetReservationSlotRequestOrBuilderA request message for ReservationSlots.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetReservationSlotRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetReservationSlotRequest.BuilderImplements
GetReservationSlotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetReservationSlotRequest build()| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest |
|
buildPartial()
public GetReservationSlotRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest |
|
clear()
public GetReservationSlotRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
|
clearParentName()
public GetReservationSlotRequest.Builder clearParentName()The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
clearProject()
public GetReservationSlotRequest.Builder clearProject()The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
clearReservationSlot()
public GetReservationSlotRequest.Builder clearReservationSlot()The name of the reservation slot, formatted as RFC1035 or a resource ID number.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
clearZone()
public GetReservationSlotRequest.Builder clearZone()The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetReservationSlotRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParentName()
public String getParentName()The name of the parent reservation and parent block, formatted as 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, formatted as 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()The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getReservationSlot()
public String getReservationSlot()The name of the reservation slot, formatted as RFC1035 or a resource ID number.
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, formatted as RFC1035 or a resource ID number.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationSlot. |
getZone()
public String getZone()The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetReservationSlotRequest other)
public GetReservationSlotRequest.Builder mergeFrom(GetReservationSlotRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetReservationSlotRequest |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetReservationSlotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetReservationSlotRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
|
setParentName(String value)
public GetReservationSlotRequest.Builder setParentName(String value)The name of the parent reservation and parent block, formatted as 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 |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setParentNameBytes(ByteString value)
public GetReservationSlotRequest.Builder setParentNameBytes(ByteString value)The name of the parent reservation and parent block, formatted as 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 |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetReservationSlotRequest.Builder setProject(String value)The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetReservationSlotRequest.Builder setProjectBytes(ByteString value)The 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 |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlot(String value)
public GetReservationSlotRequest.Builder setReservationSlot(String value)The name of the reservation slot, formatted as RFC1035 or a resource ID number.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlotBytes(ByteString value)
public GetReservationSlotRequest.Builder setReservationSlotBytes(ByteString value)The name of the reservation slot, formatted as RFC1035 or a resource ID number.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setZone(String value)
public GetReservationSlotRequest.Builder setZone(String value)The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public GetReservationSlotRequest.Builder setZoneBytes(ByteString value)The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSlotRequest.Builder |
This builder for chaining. |