public static final class GetReservationBlockRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder> implements GetReservationBlockRequestOrBuilder
A request message for ReservationBlocks.Get. See the method description for details.Protobuf type
google.cloud.compute.v1.GetReservationBlockRequest| Modifier and Type | Method and Description |
|---|---|
GetReservationBlockRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetReservationBlockRequest |
build() |
GetReservationBlockRequest |
buildPartial() |
GetReservationBlockRequest.Builder |
clear() |
GetReservationBlockRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetReservationBlockRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetReservationBlockRequest.Builder |
clearProject()
Project ID for this request.
|
GetReservationBlockRequest.Builder |
clearReservation()
The name of the reservation.
|
GetReservationBlockRequest.Builder |
clearReservationBlock()
The name of the reservation block.
|
GetReservationBlockRequest.Builder |
clearZone()
Name of the zone for this request.
|
GetReservationBlockRequest.Builder |
clone() |
GetReservationBlockRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getProject()
Project ID for this request.
|
com.google.protobuf.ByteString |
getProjectBytes()
Project ID for this request.
|
String |
getReservation()
The name of the reservation.
|
String |
getReservationBlock()
The name of the reservation block.
|
com.google.protobuf.ByteString |
getReservationBlockBytes()
The name of the reservation block.
|
com.google.protobuf.ByteString |
getReservationBytes()
The name of the reservation.
|
String |
getZone()
Name of the zone for this request.
|
com.google.protobuf.ByteString |
getZoneBytes()
Name of the zone for this request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GetReservationBlockRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetReservationBlockRequest.Builder |
mergeFrom(GetReservationBlockRequest other) |
GetReservationBlockRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetReservationBlockRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetReservationBlockRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetReservationBlockRequest.Builder |
setProject(String value)
Project ID for this request.
|
GetReservationBlockRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
|
GetReservationBlockRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetReservationBlockRequest.Builder |
setReservation(String value)
The name of the reservation.
|
GetReservationBlockRequest.Builder |
setReservationBlock(String value)
The name of the reservation block.
|
GetReservationBlockRequest.Builder |
setReservationBlockBytes(com.google.protobuf.ByteString value)
The name of the reservation block.
|
GetReservationBlockRequest.Builder |
setReservationBytes(com.google.protobuf.ByteString value)
The name of the reservation.
|
GetReservationBlockRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetReservationBlockRequest.Builder |
setZone(String value)
Name of the zone for this request.
|
GetReservationBlockRequest.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
Name of the zone for this request.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetReservationBlockRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetReservationBlockRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetReservationBlockRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder mergeFrom(GetReservationBlockRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public GetReservationBlockRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetReservationBlockRequest.Builder>IOExceptionpublic String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProject in interface GetReservationBlockRequestOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProjectBytes in interface GetReservationBlockRequestOrBuilderpublic GetReservationBlockRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The project to set.public GetReservationBlockRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];public GetReservationBlockRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The bytes for project to set.public String getReservation()
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
string reservation = 47530956 [(.google.api.field_behavior) = REQUIRED];getReservation in interface GetReservationBlockRequestOrBuilderpublic com.google.protobuf.ByteString getReservationBytes()
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
string reservation = 47530956 [(.google.api.field_behavior) = REQUIRED];getReservationBytes in interface GetReservationBlockRequestOrBuilderpublic GetReservationBlockRequest.Builder setReservation(String value)
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
string reservation = 47530956 [(.google.api.field_behavior) = REQUIRED];value - The reservation to set.public GetReservationBlockRequest.Builder clearReservation()
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
string reservation = 47530956 [(.google.api.field_behavior) = REQUIRED];public GetReservationBlockRequest.Builder setReservationBytes(com.google.protobuf.ByteString value)
The name of the reservation. Name should conform to RFC1035 or be a resource ID.
string reservation = 47530956 [(.google.api.field_behavior) = REQUIRED];value - The bytes for reservation to set.public String getReservationBlock()
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
string reservation_block = 532832858 [(.google.api.field_behavior) = REQUIRED];getReservationBlock in interface GetReservationBlockRequestOrBuilderpublic com.google.protobuf.ByteString getReservationBlockBytes()
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
string reservation_block = 532832858 [(.google.api.field_behavior) = REQUIRED];getReservationBlockBytes in interface GetReservationBlockRequestOrBuilderpublic GetReservationBlockRequest.Builder setReservationBlock(String value)
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
string reservation_block = 532832858 [(.google.api.field_behavior) = REQUIRED];value - The reservationBlock to set.public GetReservationBlockRequest.Builder clearReservationBlock()
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
string reservation_block = 532832858 [(.google.api.field_behavior) = REQUIRED];public GetReservationBlockRequest.Builder setReservationBlockBytes(com.google.protobuf.ByteString value)
The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
string reservation_block = 532832858 [(.google.api.field_behavior) = REQUIRED];value - The bytes for reservationBlock to set.public String getZone()
Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZone in interface GetReservationBlockRequestOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZoneBytes in interface GetReservationBlockRequestOrBuilderpublic GetReservationBlockRequest.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];value - The zone to set.public GetReservationBlockRequest.Builder clearZone()
Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];public GetReservationBlockRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];value - The bytes for zone to set.public final GetReservationBlockRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>public final GetReservationBlockRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationBlockRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.