Package com.google.cloud.iot.v1
Interface CreateDeviceRegistryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateDeviceRegistryRequest
,CreateDeviceRegistryRequest.Builder
public interface CreateDeviceRegistryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceRegistry
getDeviceRegistry()
Required.DeviceRegistryOrBuilder
getDeviceRegistryOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasDeviceRegistry()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasDeviceRegistry
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:
- Whether the deviceRegistry field is set.
-
getDeviceRegistry
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:
- The deviceRegistry.
-
getDeviceRegistryOrBuilder
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];
-
-