Interface CreateDeviceRegistryRequestOrBuilder (2.47.0)

public interface CreateDeviceRegistryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeviceRegistry()

public abstract DeviceRegistry getDeviceRegistry()

Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.

.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeviceRegistry

The deviceRegistry.

getDeviceRegistryOrBuilder()

public abstract DeviceRegistryOrBuilder getDeviceRegistryOrBuilder()

Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.

.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeviceRegistryOrBuilder

getParent()

public abstract String getParent()

Required. The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.

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 cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.

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

Returns
Type Description
ByteString

The bytes for parent.

hasDeviceRegistry()

public abstract boolean hasDeviceRegistry()

Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.

.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deviceRegistry field is set.