Interface CreateDeviceRegistryRequestOrBuilder (2.19.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the deviceRegistry field is set.