public interface CreateDeviceRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Device |
getDevice()
Required.
|
DeviceOrBuilder |
getDeviceOrBuilder()
Required.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
boolean |
hasDevice()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The name of the device registry where this device should be created. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The name of the device registry where this device should be created. For example, `projects/example-project/locations/us-central1/registries/my-registry`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasDevice()
Required. The device registration details. The field `name` must be empty. The server generates `name` from the device registry `id` and the `parent` field.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
Device getDevice()
Required. The device registration details. The field `name` must be empty. The server generates `name` from the device registry `id` and the `parent` field.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
DeviceOrBuilder getDeviceOrBuilder()
Required. The device registration details. The field `name` must be empty. The server generates `name` from the device registry `id` and the `parent` field.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2022 Google LLC. All rights reserved.