Class UpdateDeviceRequest.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<UpdateDeviceRequest.Builder>
      • clear

        public UpdateDeviceRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.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<UpdateDeviceRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public UpdateDeviceRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • setField

        public UpdateDeviceRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • clearField

        public UpdateDeviceRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • clearOneof

        public UpdateDeviceRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • setRepeatedField

        public UpdateDeviceRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • addRepeatedField

        public UpdateDeviceRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDeviceRequest.Builder>
      • mergeFrom

        public UpdateDeviceRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDeviceRequest.Builder>
      • isInitialized

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

        public UpdateDeviceRequest.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<UpdateDeviceRequest.Builder>
        Throws:
        IOException
      • hasDevice

        public 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];
        Specified by:
        hasDevice in interface UpdateDeviceRequestOrBuilder
        Returns:
        Whether the device field is set.
      • getDevice

        public 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];
        Specified by:
        getDevice in interface UpdateDeviceRequestOrBuilder
        Returns:
        The device.
      • setDevice

        public UpdateDeviceRequest.Builder setDevice​(Device value)
         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];
      • setDevice

        public UpdateDeviceRequest.Builder setDevice​(Device.Builder builderForValue)
         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];
      • mergeDevice

        public UpdateDeviceRequest.Builder mergeDevice​(Device value)
         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];
      • clearDevice

        public UpdateDeviceRequest.Builder clearDevice()
         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];
      • getDeviceBuilder

        public Device.Builder getDeviceBuilder()
         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];
      • getDeviceOrBuilder

        public 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];
        Specified by:
        getDeviceOrBuilder in interface UpdateDeviceRequestOrBuilder
      • hasUpdateMask

        public 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];
        Specified by:
        hasUpdateMask in interface UpdateDeviceRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public 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];
        Specified by:
        getUpdateMask in interface UpdateDeviceRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateDeviceRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         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];
      • setUpdateMask

        public UpdateDeviceRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         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];
      • mergeUpdateMask

        public UpdateDeviceRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         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];
      • clearUpdateMask

        public UpdateDeviceRequest.Builder clearUpdateMask()
         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];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         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];
      • getUpdateMaskOrBuilder

        public 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];
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateDeviceRequestOrBuilder
      • setUnknownFields

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

        public final UpdateDeviceRequest.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<UpdateDeviceRequest.Builder>