Interface UpdateProductRequestOrBuilder (3.50.0)

public interface UpdateProductRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProduct()

public abstract Product getProduct()

Required. The Product resource which replaces the one on the server. product.name is immutable.

.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Product

The product.

getProductOrBuilder()

public abstract ProductOrBuilder getProductOrBuilder()

Required. The Product resource which replaces the one on the server. product.name is immutable.

.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The 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
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The 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
Type Description
FieldMaskOrBuilder

hasProduct()

public abstract boolean hasProduct()

Required. The Product resource which replaces the one on the server. product.name is immutable.

.google.cloud.vision.v1p4beta1.Product product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the product field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The 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
Type Description
boolean

Whether the updateMask field is set.