Package com.google.cloud.compute.v1
Class UpdateReservationSlotRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
com.google.cloud.compute.v1.UpdateReservationSlotRequest.Builder
- All Implemented Interfaces:
UpdateReservationSlotRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateReservationSlotRequest
public static final class UpdateReservationSlotRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
implements UpdateReservationSlotRequestOrBuilder
A request message for ReservationSlots.Update. See the method description for details.Protobuf type
google.cloud.compute.v1.UpdateReservationSlotRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The name of the sub-block resource.The project ID for this request.The name of the slot resource.The body resource for this requestThe fields to be updated as part of this request.The name of the zone for this request, formatted as RFC1035.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the sub-block resource.com.google.protobuf.ByteStringThe name of the sub-block resource.The project ID for this request.com.google.protobuf.ByteStringThe project ID for this request.The name of the slot resource.com.google.protobuf.ByteStringThe name of the slot resource.The body resource for this requestThe body resource for this requestThe body resource for this requestThe fields to be updated as part of this request.com.google.protobuf.ByteStringThe fields to be updated as part of this request.getZone()The name of the zone for this request, formatted as RFC1035.com.google.protobuf.ByteStringThe name of the zone for this request, formatted as RFC1035.booleanThe body resource for this requestbooleanThe fields to be updated as part of this request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The body resource for this requestsetParentName(String value) The name of the sub-block resource.setParentNameBytes(com.google.protobuf.ByteString value) The name of the sub-block resource.setProject(String value) The project ID for this request.setProjectBytes(com.google.protobuf.ByteString value) The project ID for this request.setReservationSlot(String value) The name of the slot resource.setReservationSlotBytes(com.google.protobuf.ByteString value) The name of the slot resource.The body resource for this requestsetReservationSlotResource(ReservationSlot.Builder builderForValue) The body resource for this requestsetUpdateMask(String value) The fields to be updated as part of this request.setUpdateMaskBytes(com.google.protobuf.ByteString value) The fields to be updated as part of this request.The name of the zone for this request, formatted as RFC1035.setZoneBytes(com.google.protobuf.ByteString value) The name of the zone for this request, formatted as RFC1035.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateReservationSlotRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateReservationSlotRequest.Builder>
-
mergeFrom
public UpdateReservationSlotRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateReservationSlotRequest.Builder>- Throws:
IOException
-
getParentName
The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentNamein interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The parentName.
-
getParentNameBytes
public com.google.protobuf.ByteString getParentNameBytes()The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentNameBytesin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The bytes for parentName.
-
setParentName
The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The parentName to set.- Returns:
- This builder for chaining.
-
clearParentName
The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setParentNameBytes
public UpdateReservationSlotRequest.Builder setParentNameBytes(com.google.protobuf.ByteString value) The name of the sub-block resource.
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for parentName to set.- Returns:
- This builder for chaining.
-
getProject
The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Specified by:
getProjectin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Specified by:
getProjectBytesin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Returns:
- This builder for chaining.
-
setProjectBytes
The project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getReservationSlot
The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReservationSlotin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The reservationSlot.
-
getReservationSlotBytes
public com.google.protobuf.ByteString getReservationSlotBytes()The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReservationSlotBytesin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The bytes for reservationSlot.
-
setReservationSlot
The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The reservationSlot to set.- Returns:
- This builder for chaining.
-
clearReservationSlot
The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setReservationSlotBytes
public UpdateReservationSlotRequest.Builder setReservationSlotBytes(com.google.protobuf.ByteString value) The name of the slot resource.
string reservation_slot = 277470865 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for reservationSlot to set.- Returns:
- This builder for chaining.
-
hasReservationSlotResource
public boolean hasReservationSlotResource()The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasReservationSlotResourcein interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- Whether the reservationSlotResource field is set.
-
getReservationSlotResource
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReservationSlotResourcein interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The reservationSlotResource.
-
setReservationSlotResource
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED]; -
setReservationSlotResource
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]; -
mergeReservationSlotResource
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED]; -
clearReservationSlotResource
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED]; -
getReservationSlotResourceBuilder
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED]; -
getReservationSlotResourceOrBuilder
The body resource for this request
.google.cloud.compute.v1.ReservationSlot reservation_slot_resource = 408545788 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getReservationSlotResourceOrBuilderin interfaceUpdateReservationSlotRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()The fields to be updated as part of this request.
optional string update_mask = 500079778;- Specified by:
hasUpdateMaskin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
The fields to be updated as part of this request.
optional string update_mask = 500079778;- Specified by:
getUpdateMaskin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The updateMask.
-
getUpdateMaskBytes
public com.google.protobuf.ByteString getUpdateMaskBytes()The fields to be updated as part of this request.
optional string update_mask = 500079778;- Specified by:
getUpdateMaskBytesin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The bytes for updateMask.
-
setUpdateMask
The fields to be updated as part of this request.
optional string update_mask = 500079778;- Parameters:
value- The updateMask to set.- Returns:
- This builder for chaining.
-
clearUpdateMask
The fields to be updated as part of this request.
optional string update_mask = 500079778;- Returns:
- This builder for chaining.
-
setUpdateMaskBytes
public UpdateReservationSlotRequest.Builder setUpdateMaskBytes(com.google.protobuf.ByteString value) The fields to be updated as part of this request.
optional string update_mask = 500079778;- Parameters:
value- The bytes for updateMask to set.- Returns:
- This builder for chaining.
-
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"];- Specified by:
getZonein interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.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"];- Specified by:
getZoneBytesin interfaceUpdateReservationSlotRequestOrBuilder- Returns:
- The bytes for zone.
-
setZone
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"];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setZoneBytes
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"];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-