Package com.google.cloud.retail.v2alpha
Interface UpdateModelRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateModelRequest,UpdateModelRequest.Builder
@Generated
public interface UpdateModelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasModel
boolean hasModel()Required. The body of the updated [Model][google.cloud.retail.v2alpha.Model].
.google.cloud.retail.v2alpha.Model model = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the model field is set.
-
getModel
Model getModel()Required. The body of the updated [Model][google.cloud.retail.v2alpha.Model].
.google.cloud.retail.v2alpha.Model model = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The model.
-
getModelOrBuilder
ModelOrBuilder getModelOrBuilder()Required. The body of the updated [Model][google.cloud.retail.v2alpha.Model].
.google.cloud.retail.v2alpha.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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];
-