public static final class GetReservationSubBlockRequest.Builder extends GeneratedMessage.Builder<GetReservationSubBlockRequest.Builder> implements GetReservationSubBlockRequestOrBuilderA request message for ReservationSubBlocks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetReservationSubBlockRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetReservationSubBlockRequest.BuilderImplements
GetReservationSubBlockRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
clearView()
public GetReservationSubBlockRequest.Builder clearView()View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| 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. |
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. |
getView()
public String getView()View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| Returns | |
|---|---|
| Type | Description |
String |
The view. |
getViewBytes()
public ByteString getViewBytes()View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for view. |
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. |
hasView()
public boolean hasView()View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the view field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.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 |
|
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. |
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. |
setView(String value)
public GetReservationSubBlockRequest.Builder setView(String value)View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe view to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
setViewBytes(ByteString value)
public GetReservationSubBlockRequest.Builder setViewBytes(ByteString value)View of the subBlock. Check the View enum for the list of possible values.
optional string view = 3619493;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetReservationSubBlockRequest.Builder |
This builder for chaining. |
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. |