Interface UpdateProductRequestOrBuilder (2.0.29)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.