Interface HardwareLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HardwareLocation,HardwareLocation.Builder
@Generated
public interface HardwareLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getRackSpace(int index) Optional.intOptional.Optional.getRackSpaceOrBuilder(int index) Optional.List<? extends RackSpaceOrBuilder>Optional.getSite()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSite
String 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:
- The site.
-
getSiteBytes
com.google.protobuf.ByteString getSiteBytes()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:
- The bytes for site.
-
getRackLocation
String getRackLocation()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:
- The rackLocation.
-
getRackLocationBytes
com.google.protobuf.ByteString getRackLocationBytes()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:
- The bytes for rackLocation.
-
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]; -
getRackSpace
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]; -
getRackSpaceCount
int getRackSpaceCount()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]; -
getRackSpaceOrBuilderList
List<? extends RackSpaceOrBuilder> 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]; -
getRackSpaceOrBuilder
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];
-