Interface HardwareLocationOrBuilder (0.3.0)

public interface HardwareLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRackLocation()

public abstract 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
Type Description
String

The rackLocation.

getRackLocationBytes()

public abstract 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
Type Description
ByteString

The bytes for rackLocation.

getRackSpace(int index)

public abstract RackSpace getRackSpace(int index)

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
Returns
Type Description
RackSpace

getRackSpaceCount()

public abstract 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];

Returns
Type Description
int

getRackSpaceList()

public abstract List<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];

Returns
Type Description
List<RackSpace>

getRackSpaceOrBuilder(int index)

public abstract RackSpaceOrBuilder getRackSpaceOrBuilder(int index)

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
Returns
Type Description
RackSpaceOrBuilder

getRackSpaceOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.RackSpaceOrBuilder>

getSite()

public abstract 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
Type Description
String

The site.

getSiteBytes()

public abstract 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
Type Description
ByteString

The bytes for site.