Package com.google.cloud.retail.v2alpha
Interface UpdateCompletionConfigRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateCompletionConfigRequest,UpdateCompletionConfigRequest.Builder
@Generated
public interface UpdateCompletionConfigRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskIndicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update.com.google.protobuf.FieldMaskOrBuilderIndicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update.booleanRequired.booleanIndicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update.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
-
hasCompletionConfig
boolean hasCompletionConfig()Required. The [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. If the caller does not have permission to update the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig], then a PERMISSION_DENIED error is returned. If the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2alpha.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the completionConfig field is set.
-
getCompletionConfig
CompletionConfig getCompletionConfig()Required. The [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. If the caller does not have permission to update the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig], then a PERMISSION_DENIED error is returned. If the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2alpha.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The completionConfig.
-
getCompletionConfigOrBuilder
CompletionConfigOrBuilder getCompletionConfigOrBuilder()Required. The [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. If the caller does not have permission to update the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig], then a PERMISSION_DENIED error is returned. If the [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update does not exist, a NOT_FOUND error is returned.
.google.cloud.retail.v2alpha.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasUpdateMask
boolean hasUpdateMask()Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. The following are the only supported fields: * [CompletionConfig.matching_order][google.cloud.retail.v2alpha.CompletionConfig.matching_order] * [CompletionConfig.max_suggestions][google.cloud.retail.v2alpha.CompletionConfig.max_suggestions] * [CompletionConfig.min_prefix_length][google.cloud.retail.v2alpha.CompletionConfig.min_prefix_length] * [CompletionConfig.auto_learning][google.cloud.retail.v2alpha.CompletionConfig.auto_learning] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. The following are the only supported fields: * [CompletionConfig.matching_order][google.cloud.retail.v2alpha.CompletionConfig.matching_order] * [CompletionConfig.max_suggestions][google.cloud.retail.v2alpha.CompletionConfig.max_suggestions] * [CompletionConfig.min_prefix_length][google.cloud.retail.v2alpha.CompletionConfig.min_prefix_length] * [CompletionConfig.auto_learning][google.cloud.retail.v2alpha.CompletionConfig.auto_learning] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig] to update. The following are the only supported fields: * [CompletionConfig.matching_order][google.cloud.retail.v2alpha.CompletionConfig.matching_order] * [CompletionConfig.max_suggestions][google.cloud.retail.v2alpha.CompletionConfig.max_suggestions] * [CompletionConfig.min_prefix_length][google.cloud.retail.v2alpha.CompletionConfig.min_prefix_length] * [CompletionConfig.auto_learning][google.cloud.retail.v2alpha.CompletionConfig.auto_learning] If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
-