public static final class GetReservationSubBlockRequest.Builder extends GeneratedMessageV3.Builder<GetReservationSubBlockRequest.Builder> implements GetReservationSubBlockRequestOrBuilderA request message for ReservationSubBlocks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetReservationSubBlockRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetReservationSubBlockRequest.BuilderImplements
GetReservationSubBlockRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetReservationSubBlockRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
build()
public GetReservationSubBlockRequest build()| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest |
|
buildPartial()
public GetReservationSubBlockRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest |
|
clear()
public GetReservationSubBlockRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public GetReservationSubBlockRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public GetReservationSubBlockRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
clearParentName()
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];
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
clearProject()
public GetReservationSubBlockRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
clearReservationSubBlock()
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];
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
clearZone()
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];
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
clone()
public GetReservationSubBlockRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
getDefaultInstanceForType()
public GetReservationSubBlockRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParentName()
public 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];
| Returns | |
|---|---|
| Type | Description |
String |
The parentName. |
getParentNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parentName. |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getReservationSubBlock()
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];
| Returns | |
|---|---|
| Type | Description |
String |
The reservationSubBlock. |
getReservationSubBlockBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservationSubBlock. |
getZone()
public String getZone()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetReservationSubBlockRequest other)
public GetReservationSubBlockRequest.Builder mergeFrom(GetReservationSubBlockRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetReservationSubBlockRequest |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetReservationSubBlockRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetReservationSubBlockRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetReservationSubBlockRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetReservationSubBlockRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
setParentName(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parentName to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setParentNameBytes(ByteString value)
public GetReservationSubBlockRequest.Builder setParentNameBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parentName to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetReservationSubBlockRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetReservationSubBlockRequest.Builder setProjectBytes(ByteString value)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 |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetReservationSubBlockRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
setReservationSubBlock(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationSubBlock to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setReservationSubBlockBytes(ByteString value)
public GetReservationSubBlockRequest.Builder setReservationSubBlockBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationSubBlock to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetReservationSubBlockRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
|
setZone(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public GetReservationSubBlockRequest.Builder setZoneBytes(ByteString value)Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |