public static final class UpdateGenerativeQuestionsFeatureConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateGenerativeQuestionsFeatureConfigRequest.Builder> implements UpdateGenerativeQuestionsFeatureConfigRequestOrBuilder
Request for UpdateGenerativeQuestionsFeatureConfig method.
Protobuf type google.cloud.retail.v2.UpdateGenerativeQuestionsFeatureConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateGenerativeQuestionsFeatureConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateGenerativeQuestionsFeatureConfigRequest build()
buildPartial()
public UpdateGenerativeQuestionsFeatureConfigRequest buildPartial()
clear()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGenerativeQuestionsFeatureConfig()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clearGenerativeQuestionsFeatureConfig()
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clearUpdateMask()
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateGenerativeQuestionsFeatureConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGenerativeQuestionsFeatureConfig()
public GenerativeQuestionsFeatureConfig getGenerativeQuestionsFeatureConfig()
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
getGenerativeQuestionsFeatureConfigBuilder()
public GenerativeQuestionsFeatureConfig.Builder getGenerativeQuestionsFeatureConfigBuilder()
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
getGenerativeQuestionsFeatureConfigOrBuilder()
public GenerativeQuestionsFeatureConfigOrBuilder getGenerativeQuestionsFeatureConfigOrBuilder()
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
hasGenerativeQuestionsFeatureConfig()
public boolean hasGenerativeQuestionsFeatureConfig()
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the generativeQuestionsFeatureConfig field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateGenerativeQuestionsFeatureConfigRequest other)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(UpdateGenerativeQuestionsFeatureConfigRequest other)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig value)
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig value)
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
setGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig.Builder builderForValue)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setGenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig.Builder builderForValue)
Required. The configuration managing the feature state.
.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGenerativeQuestionsFeatureConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setUpdateMask(FieldMask value)
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Indicates which fields in the provided
GenerativeQuestionsFeatureConfig
to update. If not set or empty, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|