Class RackSpace (0.4.0)

public final class RackSpace extends GeneratedMessageV3 implements RackSpaceOrBuilder

Represents contiguous space in a rack.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.RackSpace

Implements

RackSpaceOrBuilder

Static Fields

END_RACK_UNIT_FIELD_NUMBER

public static final int END_RACK_UNIT_FIELD_NUMBER
Field Value
Type Description
int

START_RACK_UNIT_FIELD_NUMBER

public static final int START_RACK_UNIT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RackSpace getDefaultInstance()
Returns
Type Description
RackSpace

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RackSpace.Builder newBuilder()
Returns
Type Description
RackSpace.Builder

newBuilder(RackSpace prototype)

public static RackSpace.Builder newBuilder(RackSpace prototype)
Parameter
Name Description
prototype RackSpace
Returns
Type Description
RackSpace.Builder

parseDelimitedFrom(InputStream input)

public static RackSpace parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RackSpace parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RackSpace parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RackSpace parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RackSpace parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RackSpace parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RackSpace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RackSpace
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RackSpace> parser()
Returns
Type Description
Parser<RackSpace>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RackSpace getDefaultInstanceForType()
Returns
Type Description
RackSpace

getEndRackUnit()

public int getEndRackUnit()

Required. Last rack unit of the rack space (inclusive).

int32 end_rack_unit = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The endRackUnit.

getParserForType()

public Parser<RackSpace> getParserForType()
Returns
Type Description
Parser<RackSpace>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartRackUnit()

public int getStartRackUnit()

Required. First rack unit of the rack space (inclusive).

int32 start_rack_unit = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The startRackUnit.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RackSpace.Builder newBuilderForType()
Returns
Type Description
RackSpace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RackSpace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RackSpace.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RackSpace.Builder toBuilder()
Returns
Type Description
RackSpace.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException