public final class ReservationSlot extends GeneratedMessage implements ReservationSlotOrBuilder
Represents a reservation slot resource.
Protobuf type google.cloud.compute.v1.ReservationSlot
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PHYSICAL_TOPOLOGY_FIELD_NUMBER
public static final int PHYSICAL_TOPOLOGY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SHARE_SETTINGS_FIELD_NUMBER
public static final int SHARE_SETTINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReservationSlot getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReservationSlot.Builder newBuilder()
newBuilder(ReservationSlot prototype)
public static ReservationSlot.Builder newBuilder(ReservationSlot prototype)
public static ReservationSlot parseDelimitedFrom(InputStream input)
public static ReservationSlot parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReservationSlot parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReservationSlot parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReservationSlot parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReservationSlot parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReservationSlot parseFrom(CodedInputStream input)
public static ReservationSlot parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReservationSlot parseFrom(InputStream input)
public static ReservationSlot parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReservationSlot parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReservationSlot parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReservationSlot> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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()
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()
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()
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.
|
getParserForType()
public Parser<ReservationSlot> getParserForType()
Overrides
getPhysicalTopology()
public ReservationSlotPhysicalTopology getPhysicalTopology()
Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
getPhysicalTopologyOrBuilder()
public ReservationSlotPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()
Output only. [Output Only] The physical topology of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotPhysicalTopology physical_topology = 279778519;
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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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;
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;
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;
getStatusOrBuilder()
public ReservationSlotStatusOrBuilder getStatusOrBuilder()
Output only. [Output Only] The status of the reservation slot.
optional .google.cloud.compute.v1.ReservationSlotStatus status = 181260274;
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()
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()
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()
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()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReservationSlot.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReservationSlot.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ReservationSlot.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides