Interface UpdateDeviceRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    UpdateDeviceRequest, UpdateDeviceRequest.Builder

    public interface UpdateDeviceRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Device getDevice()
      Required.
      DeviceOrBuilder getDeviceOrBuilder()
      Required.
      com.google.protobuf.FieldMask getUpdateMask()
      Required.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      Required.
      boolean hasDevice()
      Required.
      boolean hasUpdateMask()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasDevice

        boolean hasDevice()
         Required. The new values for the device. The `id` and `num_id` fields must
         be empty, and the field `name` must specify the name path. For example,
         `projects/p0/locations/us-central1/registries/registry0/devices/device0`or
         `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
         
        .google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the device field is set.
      • getDevice

        Device getDevice()
         Required. The new values for the device. The `id` and `num_id` fields must
         be empty, and the field `name` must specify the name path. For example,
         `projects/p0/locations/us-central1/registries/registry0/devices/device0`or
         `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
         
        .google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The device.
      • getDeviceOrBuilder

        DeviceOrBuilder getDeviceOrBuilder()
         Required. The new values for the device. The `id` and `num_id` fields must
         be empty, and the field `name` must specify the name path. For example,
         `projects/p0/locations/us-central1/registries/registry0/devices/device0`or
         `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
         
        .google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        boolean hasUpdateMask()
         Required. Only updates the `device` fields indicated by this mask.
         The field mask must not be empty, and it must not contain fields that
         are immutable or only set by the server.
         Mutable top-level fields: `credentials`, `blocked`, and `metadata`
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        com.google.protobuf.FieldMask getUpdateMask()
         Required. Only updates the `device` fields indicated by this mask.
         The field mask must not be empty, and it must not contain fields that
         are immutable or only set by the server.
         Mutable top-level fields: `credentials`, `blocked`, and `metadata`
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Only updates the `device` fields indicated by this mask.
         The field mask must not be empty, and it must not contain fields that
         are immutable or only set by the server.
         Mutable top-level fields: `credentials`, `blocked`, and `metadata`
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];