Interface UpdateCompletionConfigRequestOrBuilder (2.42.0)

public interface UpdateCompletionConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompletionConfig()

public abstract CompletionConfig getCompletionConfig()

Required. The CompletionConfig to update.

If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.

If the 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
TypeDescription
CompletionConfig

The completionConfig.

getCompletionConfigOrBuilder()

public abstract CompletionConfigOrBuilder getCompletionConfigOrBuilder()

Required. The CompletionConfig to update.

If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.

If the 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
TypeDescription
CompletionConfigOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields:

  • CompletionConfig.matching_order
  • CompletionConfig.max_suggestions
  • CompletionConfig.min_prefix_length
  • CompletionConfig.auto_learning

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields:

  • CompletionConfig.matching_order
  • CompletionConfig.max_suggestions
  • CompletionConfig.min_prefix_length
  • CompletionConfig.auto_learning

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasCompletionConfig()

public abstract boolean hasCompletionConfig()

Required. The CompletionConfig to update.

If the caller does not have permission to update the CompletionConfig, then a PERMISSION_DENIED error is returned.

If the 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
TypeDescription
boolean

Whether the completionConfig field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields:

  • CompletionConfig.matching_order
  • CompletionConfig.max_suggestions
  • CompletionConfig.min_prefix_length
  • CompletionConfig.auto_learning

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.