public static final class ReservationSlot.Builder extends GeneratedMessage.Builder<ReservationSlot.Builder> implements ReservationSlotOrBuilderRepresents a reservation slot resource.
Protobuf type google.cloud.compute.v1.ReservationSlot
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReservationSlot.BuilderImplements
ReservationSlotOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReservationSlot build()| Returns | |
|---|---|
| Type | Description |
ReservationSlot |
|
buildPartial()
public ReservationSlot buildPartial()| Returns | |
|---|---|
| Type | Description |
ReservationSlot |
|
clear()
public ReservationSlot.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
clearCreationTimestamp()
public ReservationSlot.Builder clearCreationTimestamp()Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearId()
public ReservationSlot.Builder clearId()Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearKind()
public ReservationSlot.Builder clearKind()Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearName()
public ReservationSlot.Builder clearName()Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearPhysicalTopology()
public ReservationSlot.Builder clearPhysicalTopology()Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
clearSelfLink()
public ReservationSlot.Builder clearSelfLink()Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearSelfLinkWithId()
public ReservationSlot.Builder clearSelfLinkWithId()Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearShareSettings()
public ReservationSlot.Builder clearShareSettings()Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
clearState()
public ReservationSlot.Builder clearState()Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
clearStatus()
public ReservationSlot.Builder clearStatus()Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
clearZone()
public ReservationSlot.Builder clearZone()Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
getCreationTimestamp()
public String getCreationTimestamp()Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
String |
The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for creationTimestamp. |
getDefaultInstanceForType()
public ReservationSlot getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReservationSlot |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public long getId()Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
long |
The id. |
getKind()
public String getKind()Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getName()
public String getName()Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPhysicalTopology()
public ReservationSlotPhysicalTopology getPhysicalTopology()Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotPhysicalTopology |
The physicalTopology. |
getPhysicalTopologyBuilder()
public ReservationSlotPhysicalTopology.Builder getPhysicalTopologyBuilder()Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotPhysicalTopology.Builder |
|
getPhysicalTopologyOrBuilder()
public ReservationSlotPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotPhysicalTopologyOrBuilder |
|
getSelfLink()
public String getSelfLink()Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLink. |
getSelfLinkWithId()
public String getSelfLinkWithId()Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
String |
The selfLinkWithId. |
getSelfLinkWithIdBytes()
public ByteString getSelfLinkWithIdBytes()Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for selfLinkWithId. |
getShareSettings()
public ShareSettings getShareSettings()Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
ShareSettings |
The shareSettings. |
getShareSettingsBuilder()
public ShareSettings.Builder getShareSettingsBuilder()Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
ShareSettings.Builder |
|
getShareSettingsOrBuilder()
public ShareSettingsOrBuilder getShareSettingsOrBuilder()Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
ShareSettingsOrBuilder |
|
getState()
public String getState()Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
String |
The state. |
getStateBytes()
public ByteString getStateBytes()Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for state. |
getStatus()
public ReservationSlotStatus getStatus()Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotStatus |
The status. |
getStatusBuilder()
public ReservationSlotStatus.Builder getStatusBuilder()Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotStatus.Builder |
|
getStatusOrBuilder()
public ReservationSlotStatusOrBuilder getStatusOrBuilder()Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
ReservationSlotStatusOrBuilder |
|
getZone()
public String getZone()Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creationTimestamp field is set. |
hasId()
public boolean hasId()Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the id field is set. |
hasKind()
public boolean hasKind()Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kind field is set. |
hasName()
public boolean hasName()Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasPhysicalTopology()
public boolean hasPhysicalTopology()Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the physicalTopology field is set. |
hasSelfLink()
public boolean hasSelfLink()Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLink field is set. |
hasSelfLinkWithId()
public boolean hasSelfLinkWithId()Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the selfLinkWithId field is set. |
hasShareSettings()
public boolean hasShareSettings()Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shareSettings field is set. |
hasState()
public boolean hasState()Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the state field is set. |
hasStatus()
public boolean hasStatus()Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |
hasZone()
public boolean hasZone()Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the zone field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReservationSlot other)
public ReservationSlot.Builder mergeFrom(ReservationSlot other)| Parameter | |
|---|---|
| Name | Description |
other |
ReservationSlot |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReservationSlot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReservationSlot.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
mergePhysicalTopology(ReservationSlotPhysicalTopology value)
public ReservationSlot.Builder mergePhysicalTopology(ReservationSlotPhysicalTopology value)Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotPhysicalTopology |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
mergeShareSettings(ShareSettings value)
public ReservationSlot.Builder mergeShareSettings(ShareSettings value)Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
value |
ShareSettings |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
mergeStatus(ReservationSlotStatus value)
public ReservationSlot.Builder mergeStatus(ReservationSlotStatus value)Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotStatus |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setCreationTimestamp(String value)
public ReservationSlot.Builder setCreationTimestamp(String value)Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public ReservationSlot.Builder setCreationTimestampBytes(ByteString value)Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setId(long value)
public ReservationSlot.Builder setId(long value)Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
optional uint64 id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setKind(String value)
public ReservationSlot.Builder setKind(String value)Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public ReservationSlot.Builder setKindBytes(ByteString value)Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setName(String value)
public ReservationSlot.Builder setName(String value)Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReservationSlot.Builder setNameBytes(ByteString value)Output only. [Output Only] The name of the reservation slot.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setPhysicalTopology(ReservationSlotPhysicalTopology value)
public ReservationSlot.Builder setPhysicalTopology(ReservationSlotPhysicalTopology value)Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotPhysicalTopology |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setPhysicalTopology(ReservationSlotPhysicalTopology.Builder builderForValue)
public ReservationSlot.Builder setPhysicalTopology(ReservationSlotPhysicalTopology.Builder builderForValue)Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReservationSlotPhysicalTopology.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setSelfLink(String value)
public ReservationSlot.Builder setSelfLink(String value)Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public ReservationSlot.Builder setSelfLinkBytes(ByteString value)Output only. [Output Only] A server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setSelfLinkWithId(String value)
public ReservationSlot.Builder setSelfLinkWithId(String value)Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setSelfLinkWithIdBytes(ByteString value)
public ReservationSlot.Builder setSelfLinkWithIdBytes(ByteString value)Output only. [Output Only] A server-defined URL for this resource with the resource ID.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setShareSettings(ShareSettings value)
public ReservationSlot.Builder setShareSettings(ShareSettings value)Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
value |
ShareSettings |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setShareSettings(ShareSettings.Builder builderForValue)
public ReservationSlot.Builder setShareSettings(ShareSettings.Builder builderForValue)Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ShareSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setState(String value)
public ReservationSlot.Builder setState(String value)Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public ReservationSlot.Builder setStateBytes(ByteString value)Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
optional string state = 109757585;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setStatus(ReservationSlotStatus value)
public ReservationSlot.Builder setStatus(ReservationSlotStatus value)Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
ReservationSlotStatus |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setStatus(ReservationSlotStatus.Builder builderForValue)
public ReservationSlot.Builder setStatus(ReservationSlotStatus.Builder builderForValue)Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ReservationSlotStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
|
setZone(String value)
public ReservationSlot.Builder setZone(String value)Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public ReservationSlot.Builder setZoneBytes(ByteString value)Output only. [Output Only] The zone in which the reservation slot resides.
optional string zone = 3744684;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlot.Builder |
This builder for chaining. |