publicfinalclass HardwareLocationextendsGeneratedMessageV3implementsHardwareLocationOrBuilder
Represents the location of one or many hardware.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation
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
RACK_LOCATION_FIELD_NUMBER
publicstaticfinalintRACK_LOCATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RACK_SPACE_FIELD_NUMBER
publicstaticfinalintRACK_SPACE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SITE_FIELD_NUMBER
publicstaticfinalintSITE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticHardwareLocationgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticHardwareLocation.BuildernewBuilder()
newBuilder(HardwareLocation prototype)
publicstaticHardwareLocation.BuildernewBuilder(HardwareLocationprototype)
publicstaticHardwareLocationparseDelimitedFrom(InputStreaminput)
publicstaticHardwareLocationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticHardwareLocationparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticHardwareLocationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticHardwareLocationparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticHardwareLocationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticHardwareLocationparseFrom(CodedInputStreaminput)
publicstaticHardwareLocationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticHardwareLocationparseFrom(InputStreaminput)
publicstaticHardwareLocationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticHardwareLocationparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticHardwareLocationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<HardwareLocation>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicHardwareLocationgetDefaultInstanceForType()
getParserForType()
publicParser<HardwareLocation>getParserForType()
Overrides
getRackLocation()
publicStringgetRackLocation()
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7,
Rack 3.
string rack_location = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The rackLocation.
|
getRackLocationBytes()
publicByteStringgetRackLocationBytes()
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7,
Rack 3.
string rack_location = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for rackLocation.
|
getRackSpace(int index)
publicRackSpacegetRackSpace(intindex)
Optional. Spaces occupied by the hardware in the rack.
If unset, this location is assumed to be the entire rack.
repeated .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getRackSpaceCount()
publicintgetRackSpaceCount()
Optional. Spaces occupied by the hardware in the rack.
If unset, this location is assumed to be the entire rack.
repeated .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
getRackSpaceList()
publicList<RackSpace>getRackSpaceList()
Optional. Spaces occupied by the hardware in the rack.
If unset, this location is assumed to be the entire rack.
repeated .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 3 [(.google.api.field_behavior) = OPTIONAL];
getRackSpaceOrBuilder(int index)
publicRackSpaceOrBuildergetRackSpaceOrBuilder(intindex)
Optional. Spaces occupied by the hardware in the rack.
If unset, this location is assumed to be the entire rack.
repeated .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getRackSpaceOrBuilderList()
publicList<?extendsRackSpaceOrBuilder>getRackSpaceOrBuilderList()
Optional. Spaces occupied by the hardware in the rack.
If unset, this location is assumed to be the entire rack.
repeated .google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.RackSpaceOrBuilder> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSite()
Required. Name of the site where the hardware are present.
Format: projects/{project}/locations/{location}/sites/{site}
string site = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The site.
|
getSiteBytes()
publicByteStringgetSiteBytes()
Required. Name of the site where the hardware are present.
Format: projects/{project}/locations/{location}/sites/{site}
string site = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for site.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicHardwareLocation.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedHardwareLocation.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicHardwareLocation.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides