Interface UpdateModelRequestOrBuilder (2.16.0)

public interface UpdateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The model which replaces the resource on the server.

.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The model which replaces the resource on the server.

.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ModelOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The update mask applies to the resource.

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

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasModel()

public abstract boolean hasModel()

Required. The model which replaces the resource on the server.

.google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the model field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The update mask applies to the resource.

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

Returns
TypeDescription
boolean

Whether the updateMask field is set.