public static final class GetReservationSubBlockRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder> implements GetReservationSubBlockRequestOrBuilder
A request message for ReservationSubBlocks.Get. See the method description for details.Protobuf type
google.cloud.compute.v1.GetReservationSubBlockRequest| Modifier and Type | Method and Description |
|---|---|
GetReservationSubBlockRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetReservationSubBlockRequest |
build() |
GetReservationSubBlockRequest |
buildPartial() |
GetReservationSubBlockRequest.Builder |
clear() |
GetReservationSubBlockRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GetReservationSubBlockRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GetReservationSubBlockRequest.Builder |
clearParentName()
The name of the parent reservation and parent block.
|
GetReservationSubBlockRequest.Builder |
clearProject()
Project ID for this request.
|
GetReservationSubBlockRequest.Builder |
clearReservationSubBlock()
The name of the reservation subBlock.
|
GetReservationSubBlockRequest.Builder |
clearZone()
Name of the zone for this request.
|
GetReservationSubBlockRequest.Builder |
clone() |
GetReservationSubBlockRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParentName()
The name of the parent reservation and parent block.
|
com.google.protobuf.ByteString |
getParentNameBytes()
The name of the parent reservation and parent block.
|
String |
getProject()
Project ID for this request.
|
com.google.protobuf.ByteString |
getProjectBytes()
Project ID for this request.
|
String |
getReservationSubBlock()
The name of the reservation subBlock.
|
com.google.protobuf.ByteString |
getReservationSubBlockBytes()
The name of the reservation subBlock.
|
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() |
GetReservationSubBlockRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GetReservationSubBlockRequest.Builder |
mergeFrom(GetReservationSubBlockRequest other) |
GetReservationSubBlockRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GetReservationSubBlockRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetReservationSubBlockRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GetReservationSubBlockRequest.Builder |
setParentName(String value)
The name of the parent reservation and parent block.
|
GetReservationSubBlockRequest.Builder |
setParentNameBytes(com.google.protobuf.ByteString value)
The name of the parent reservation and parent block.
|
GetReservationSubBlockRequest.Builder |
setProject(String value)
Project ID for this request.
|
GetReservationSubBlockRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
|
GetReservationSubBlockRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GetReservationSubBlockRequest.Builder |
setReservationSubBlock(String value)
The name of the reservation subBlock.
|
GetReservationSubBlockRequest.Builder |
setReservationSubBlockBytes(com.google.protobuf.ByteString value)
The name of the reservation subBlock.
|
GetReservationSubBlockRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GetReservationSubBlockRequest.Builder |
setZone(String value)
Name of the zone for this request.
|
GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GetReservationSubBlockRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GetReservationSubBlockRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GetReservationSubBlockRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.Builder mergeFrom(GetReservationSubBlockRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>public GetReservationSubBlockRequest.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<GetReservationSubBlockRequest.Builder>IOExceptionpublic String getParentName()
The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];getParentName in interface GetReservationSubBlockRequestOrBuilderpublic com.google.protobuf.ByteString getParentNameBytes()
The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];getParentNameBytes in interface GetReservationSubBlockRequestOrBuilderpublic GetReservationSubBlockRequest.Builder setParentName(String value)
The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];value - The parentName to set.public GetReservationSubBlockRequest.Builder clearParentName()
The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];public GetReservationSubBlockRequest.Builder setParentNameBytes(com.google.protobuf.ByteString value)
The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
string parent_name = 478151936 [(.google.api.field_behavior) = REQUIRED];value - The bytes for parentName to set.public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProject in interface GetReservationSubBlockRequestOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProjectBytes in interface GetReservationSubBlockRequestOrBuilderpublic GetReservationSubBlockRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The project to set.public GetReservationSubBlockRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];public GetReservationSubBlockRequest.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 getReservationSubBlock()
The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];
getReservationSubBlock in interface GetReservationSubBlockRequestOrBuilderpublic com.google.protobuf.ByteString getReservationSubBlockBytes()
The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];
getReservationSubBlockBytes in interface GetReservationSubBlockRequestOrBuilderpublic GetReservationSubBlockRequest.Builder setReservationSubBlock(String value)
The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];
value - The reservationSubBlock to set.public GetReservationSubBlockRequest.Builder clearReservationSubBlock()
The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];
public GetReservationSubBlockRequest.Builder setReservationSubBlockBytes(com.google.protobuf.ByteString value)
The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
string reservation_sub_block = 22750491 [(.google.api.field_behavior) = REQUIRED];
value - The bytes for reservationSubBlock 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 GetReservationSubBlockRequestOrBuilderpublic 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 GetReservationSubBlockRequestOrBuilderpublic GetReservationSubBlockRequest.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 GetReservationSubBlockRequest.Builder clearZone()
Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];public GetReservationSubBlockRequest.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 GetReservationSubBlockRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>public final GetReservationSubBlockRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.