Interface UpdateProductRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Product getProduct()
      Required.
      ProductOrBuilder getProductOrBuilder()
      Required.
      com.google.protobuf.FieldMask getUpdateMask()
      The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.
      boolean hasProduct()
      Required.
      boolean hasUpdateMask()
      The [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.
      • 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

      • hasProduct

        boolean hasProduct()
         Required. The Product resource which replaces the one on the server.
         product.name is immutable.
         
        .google.cloud.vision.v1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the product field is set.
      • getProduct

        Product getProduct()
         Required. The Product resource which replaces the one on the server.
         product.name is immutable.
         
        .google.cloud.vision.v1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The product.
      • getProductOrBuilder

        ProductOrBuilder getProductOrBuilder()
         Required. The Product resource which replaces the one on the server.
         product.name is immutable.
         
        .google.cloud.vision.v1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        boolean hasUpdateMask()
         The [FieldMask][google.protobuf.FieldMask] that specifies which fields
         to update.
         If update_mask isn't specified, all mutable fields are to be updated.
         Valid mask paths include `product_labels`, `display_name`, and
         `description`.
         
        .google.protobuf.FieldMask update_mask = 2;
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        com.google.protobuf.FieldMask getUpdateMask()
         The [FieldMask][google.protobuf.FieldMask] that specifies which fields
         to update.
         If update_mask isn't specified, all mutable fields are to be updated.
         Valid mask paths include `product_labels`, `display_name`, and
         `description`.
         
        .google.protobuf.FieldMask update_mask = 2;
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         The [FieldMask][google.protobuf.FieldMask] that specifies which fields
         to update.
         If update_mask isn't specified, all mutable fields are to be updated.
         Valid mask paths include `product_labels`, `display_name`, and
         `description`.
         
        .google.protobuf.FieldMask update_mask = 2;