Interface CreateHardwareRequestOrBuilder (0.1.0)

public interface CreateHardwareRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHardware()

public abstract Hardware getHardware()

Required. The resource to create.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Hardware

The hardware.

getHardwareId()

public abstract String getHardwareId()

Optional. ID used to uniquely identify the Hardware within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The hardware.name field in the request will be ignored.

string hardware_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The hardwareId.

getHardwareIdBytes()

public abstract ByteString getHardwareIdBytes()

Optional. ID used to uniquely identify the Hardware within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The hardware.name field in the request will be ignored.

string hardware_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for hardwareId.

getHardwareOrBuilder()

public abstract HardwareOrBuilder getHardwareOrBuilder()

Required. The resource to create.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwareOrBuilder

getParent()

public abstract String getParent()

Required. The project and location to create hardware in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project and location to create hardware in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasHardware()

public abstract boolean hasHardware()

Required. The resource to create.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware hardware = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hardware field is set.