Class UpdateDeviceRegistryRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder>
      • getDefaultInstanceForType

        public UpdateDeviceRegistryRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateDeviceRegistryRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateDeviceRegistryRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder>
      • mergeFrom

        public UpdateDeviceRegistryRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDeviceRegistryRequest.Builder>
        Throws:
        IOException
      • hasDeviceRegistry

        public boolean hasDeviceRegistry()
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasDeviceRegistry in interface UpdateDeviceRegistryRequestOrBuilder
        Returns:
        Whether the deviceRegistry field is set.
      • getDeviceRegistry

        public DeviceRegistry getDeviceRegistry()
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeviceRegistry in interface UpdateDeviceRegistryRequestOrBuilder
        Returns:
        The deviceRegistry.
      • setDeviceRegistry

        public UpdateDeviceRegistryRequest.Builder setDeviceRegistry​(DeviceRegistry value)
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
      • setDeviceRegistry

        public UpdateDeviceRegistryRequest.Builder setDeviceRegistry​(DeviceRegistry.Builder builderForValue)
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeDeviceRegistry

        public UpdateDeviceRegistryRequest.Builder mergeDeviceRegistry​(DeviceRegistry value)
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearDeviceRegistry

        public UpdateDeviceRegistryRequest.Builder clearDeviceRegistry()
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
      • getDeviceRegistryBuilder

        public DeviceRegistry.Builder getDeviceRegistryBuilder()
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
      • getDeviceRegistryOrBuilder

        public DeviceRegistryOrBuilder getDeviceRegistryOrBuilder()
         Required. The new values for the device registry. The `id` field must be empty, and
         the `name` field must indicate the path of the resource. For example,
         `projects/example-project/locations/us-central1/registries/my-registry`.
         
        .google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDeviceRegistryOrBuilder in interface UpdateDeviceRegistryRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface UpdateDeviceRegistryRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface UpdateDeviceRegistryRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateDeviceRegistryRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateDeviceRegistryRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public UpdateDeviceRegistryRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public UpdateDeviceRegistryRequest.Builder clearUpdateMask()
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. Only updates the `device_registry` 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: `event_notification_config`, `http_config`,
         `mqtt_config`, and `state_notification_config`.
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateDeviceRegistryRequestOrBuilder
      • mergeUnknownFields

        public final UpdateDeviceRegistryRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder>