Interface UpdateModelRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Model getModel()
      Required.
      ModelOrBuilder getModelOrBuilder()
      Required.
      com.google.protobuf.FieldMask getUpdateMask()
      Required.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      Required.
      boolean hasModel()
      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

      • hasModel

        boolean hasModel()
         Required. The Model which replaces the resource on the server.
         When Model Versioning is enabled, the model.name will be used to determine
         whether to update the model or model version.
         1. model.name with the @ value, e.g. models/123@1, refers to a version
         specific update.
         2. model.name without the @ value, e.g. models/123, refers to a model
         update.
         3. model.name with @-, e.g. models/123@-, refers to a model update.
         4. Supported model fields: display_name, description; supported
         version-specific fields: version_description. Labels are supported in both
         scenarios. Both the model labels and the version labels are merged when a
         model is returned. When updating labels, if the request is for
         model-specific update, model label gets updated. Otherwise, version labels
         get updated.
         5. A model name or model version name fields update mismatch will cause a
         precondition error.
         6. One request cannot update both the model and the version fields. You
         must update them separately.
         
        .google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the model field is set.
      • getModel

        Model getModel()
         Required. The Model which replaces the resource on the server.
         When Model Versioning is enabled, the model.name will be used to determine
         whether to update the model or model version.
         1. model.name with the @ value, e.g. models/123@1, refers to a version
         specific update.
         2. model.name without the @ value, e.g. models/123, refers to a model
         update.
         3. model.name with @-, e.g. models/123@-, refers to a model update.
         4. Supported model fields: display_name, description; supported
         version-specific fields: version_description. Labels are supported in both
         scenarios. Both the model labels and the version labels are merged when a
         model is returned. When updating labels, if the request is for
         model-specific update, model label gets updated. Otherwise, version labels
         get updated.
         5. A model name or model version name fields update mismatch will cause a
         precondition error.
         6. One request cannot update both the model and the version fields. You
         must update them separately.
         
        .google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The model.
      • getModelOrBuilder

        ModelOrBuilder getModelOrBuilder()
         Required. The Model which replaces the resource on the server.
         When Model Versioning is enabled, the model.name will be used to determine
         whether to update the model or model version.
         1. model.name with the @ value, e.g. models/123@1, refers to a version
         specific update.
         2. model.name without the @ value, e.g. models/123, refers to a model
         update.
         3. model.name with @-, e.g. models/123@-, refers to a model update.
         4. Supported model fields: display_name, description; supported
         version-specific fields: version_description. Labels are supported in both
         scenarios. Both the model labels and the version labels are merged when a
         model is returned. When updating labels, if the request is for
         model-specific update, model label gets updated. Otherwise, version labels
         get updated.
         5. A model name or model version name fields update mismatch will cause a
         precondition error.
         6. One request cannot update both the model and the version fields. You
         must update them separately.
         
        .google.cloud.aiplatform.v1beta1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        boolean hasUpdateMask()
         Required. The update mask applies to the resource.
         For the `FieldMask` definition, see
         [google.protobuf.FieldMask][google.protobuf.FieldMask].
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        com.google.protobuf.FieldMask getUpdateMask()
         Required. The update mask applies to the resource.
         For the `FieldMask` definition, see
         [google.protobuf.FieldMask][google.protobuf.FieldMask].
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. The update mask applies to the resource.
         For the `FieldMask` definition, see
         [google.protobuf.FieldMask][google.protobuf.FieldMask].
         
        .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];