public final class RackSpace extends GeneratedMessageV3 implements RackSpaceOrBuilder
Represents contiguous space in a rack.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.RackSpace
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RackSpace.Builder newBuilder()
newBuilder(RackSpace prototype)
public static RackSpace.Builder newBuilder(RackSpace prototype)
Parameter |
Name |
Description |
prototype |
RackSpace
|
public static RackSpace parseDelimitedFrom(InputStream input)
public static RackSpace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RackSpace parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RackSpace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RackSpace parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RackSpace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RackSpace parseFrom(CodedInputStream input)
public static RackSpace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RackSpace parseFrom(InputStream input)
public static RackSpace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RackSpace parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RackSpace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RackSpace> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RackSpace getDefaultInstanceForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RackSpace.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RackSpace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RackSpace.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides