Interface UpdateModelRequestOrBuilder (2.48.0)

public interface UpdateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The body of the updated Model.

.google.cloud.retail.v2.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The body of the updated Model.

.google.cloud.retail.v2.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasModel()

public abstract boolean hasModel()

Required. The body of the updated Model.

.google.cloud.retail.v2.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the model field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.