Interface UpdateModelRequestOrBuilder (2.5.1)

public interface UpdateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The body of the updated Model.

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

Returns
TypeDescription
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The body of the updated Model.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasModel()

public abstract boolean hasModel()

Required. The body of the updated Model.

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

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

Whether the updateMask field is set.