public static final class UpdateCompletionConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateCompletionConfigRequest.Builder> implements UpdateCompletionConfigRequestOrBuilder
Request for
CatalogService.UpdateCompletionConfig
method.
Protobuf type google.cloud.retail.v2alpha.UpdateCompletionConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCompletionConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCompletionConfigRequest build()
buildPartial()
public UpdateCompletionConfigRequest buildPartial()
clear()
public UpdateCompletionConfigRequest.Builder clear()
Overrides
clearCompletionConfig()
public UpdateCompletionConfigRequest.Builder clearCompletionConfig()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateCompletionConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCompletionConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCompletionConfigRequest.Builder clearUpdateMask()
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;
clone()
public UpdateCompletionConfigRequest.Builder clone()
Overrides
getCompletionConfig()
public 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];
getCompletionConfigBuilder()
public CompletionConfig.Builder getCompletionConfigBuilder()
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];
getCompletionConfigOrBuilder()
public 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];
getDefaultInstanceForType()
public UpdateCompletionConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public 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 |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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;
getUpdateMaskOrBuilder()
public 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;
hasCompletionConfig()
public 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 |
---|
Type | Description |
boolean | Whether the completionConfig field is set.
|
hasUpdateMask()
public 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 |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCompletionConfig(CompletionConfig value)
public UpdateCompletionConfigRequest.Builder mergeCompletionConfig(CompletionConfig value)
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];
mergeFrom(UpdateCompletionConfigRequest other)
public UpdateCompletionConfigRequest.Builder mergeFrom(UpdateCompletionConfigRequest other)
public UpdateCompletionConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCompletionConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCompletionConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCompletionConfigRequest.Builder mergeUpdateMask(FieldMask value)
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;
setCompletionConfig(CompletionConfig value)
public UpdateCompletionConfigRequest.Builder setCompletionConfig(CompletionConfig value)
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];
setCompletionConfig(CompletionConfig.Builder builderForValue)
public UpdateCompletionConfigRequest.Builder setCompletionConfig(CompletionConfig.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCompletionConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCompletionConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCompletionConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateCompletionConfigRequest.Builder setUpdateMask(FieldMask value)
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;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCompletionConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|