Package com.google.cloud.vision.v1
Interface UpdateProductRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateProductRequest,UpdateProductRequest.Builder
@Generated
public interface UpdateProductRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskThe [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.com.google.protobuf.FieldMaskOrBuilderThe [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.booleanRequired.booleanThe [FieldMask][google.protobuf.FieldMask] that specifies which fields to update.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-