public static final class UpdateReservationSlotRequest.Builder extends GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder> implements UpdateReservationSlotRequestOrBuilderA request message for ReservationSlots.Update. See the method description for details.
Protobuf type google.cloud.compute.v1.UpdateReservationSlotRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateReservationSlotRequest.BuilderImplements
UpdateReservationSlotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateReservationSlotRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest |
|
buildPartial()
public UpdateReservationSlotRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest |
|
clear()
public UpdateReservationSlotRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
clearParentName()
public UpdateReservationSlotRequest.Builder clearParentName()The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
clearProject()
public UpdateReservationSlotRequest.Builder clearProject()The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
clearReservationSlot()
public UpdateReservationSlotRequest.Builder clearReservationSlot()The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
clearReservationSlotResource()
public UpdateReservationSlotRequest.Builder clearReservationSlotResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
clearUpdateMask()
public UpdateReservationSlotRequest.Builder clearUpdateMask()The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
clearZone()
public UpdateReservationSlotRequest.Builder clearZone()The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpdateReservationSlotRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParentName()
public String getParentName()The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The parentName. |
getParentNameBytes()
public ByteString getParentNameBytes()The name of the sub-block resource.
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, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()The 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. |
getReservationSlot()
public String getReservationSlot()The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The reservationSlot. |
getReservationSlotBytes()
public ByteString getReservationSlotBytes()The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationSlot. |
getReservationSlotResource()
public ReservationSlot getReservationSlotResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlot |
The reservationSlotResource. |
getReservationSlotResourceBuilder()
public ReservationSlot.Builder getReservationSlotResourceBuilder()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
getReservationSlotResourceOrBuilder()
public ReservationSlotOrBuilder getReservationSlotResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReservationSlotOrBuilder |
|
getUpdateMask()
public String getUpdateMask()The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Returns | |
|---|---|
| Type | Description |
String |
The updateMask. |
getUpdateMaskBytes()
public ByteString getUpdateMaskBytes()The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for updateMask. |
getZone()
public String getZone()The name of the zone for this request, formatted as 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()The name of the zone for this request, formatted as RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasReservationSlotResource()
public boolean hasReservationSlotResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservationSlotResource field is set. |
hasUpdateMask()
public boolean hasUpdateMask()The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateReservationSlotRequest other)
public UpdateReservationSlotRequest.Builder mergeFrom(UpdateReservationSlotRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateReservationSlotRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateReservationSlotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateReservationSlotRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
mergeReservationSlotResource(ReservationSlot value)
public UpdateReservationSlotRequest.Builder mergeReservationSlotResource(ReservationSlot value)The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
setParentName(String value)
public UpdateReservationSlotRequest.Builder setParentName(String value)The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parentName to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setParentNameBytes(ByteString value)
public UpdateReservationSlotRequest.Builder setParentNameBytes(ByteString value)The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parentName to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setProject(String value)
public UpdateReservationSlotRequest.Builder setProject(String value)The 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 |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public UpdateReservationSlotRequest.Builder setProjectBytes(ByteString value)The 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 |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlot(String value)
public UpdateReservationSlotRequest.Builder setReservationSlot(String value)The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlotBytes(ByteString value)
public UpdateReservationSlotRequest.Builder setReservationSlotBytes(ByteString value)The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationSlot to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setReservationSlotResource(ReservationSlot value)
public UpdateReservationSlotRequest.Builder setReservationSlotResource(ReservationSlot value)The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
setReservationSlotResource(ReservationSlot.Builder builderForValue)
public UpdateReservationSlotRequest.Builder setReservationSlotResource(ReservationSlot.Builder builderForValue)The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReservationSlot.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
|
setUpdateMask(String value)
public UpdateReservationSlotRequest.Builder setUpdateMask(String value)The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe updateMask to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setUpdateMaskBytes(ByteString value)
public UpdateReservationSlotRequest.Builder setUpdateMaskBytes(ByteString value)The fields to be updated as part of this request.
optional string update_mask = 500079778;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for updateMask to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setZone(String value)
public UpdateReservationSlotRequest.Builder setZone(String value)The name of the zone for this request, formatted as 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 |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public UpdateReservationSlotRequest.Builder setZoneBytes(ByteString value)The name of the zone for this request, formatted as 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 |
UpdateReservationSlotRequest.Builder |
This builder for chaining. |