public static final class UpdateGenerativeQuestionsFeatureConfigRequest.Builder extends GeneratedMessage.Builder<UpdateGenerativeQuestionsFeatureConfigRequest.Builder> implements UpdateGenerativeQuestionsFeatureConfigRequestOrBuilderRequest for UpdateGenerativeQuestionsFeatureConfig method.
Protobuf type google.cloud.retail.v2.UpdateGenerativeQuestionsFeatureConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateGenerativeQuestionsFeatureConfigRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateGenerativeQuestionsFeatureConfigRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest |
|
buildPartial()
public UpdateGenerativeQuestionsFeatureConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest |
|
clear()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
getDefaultInstanceForType()
public UpdateGenerativeQuestionsFeatureConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
GenerativeQuestionsFeatureConfig |
The generativeQuestionsFeatureConfig. |
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];
| Returns | |
|---|---|
| Type | Description |
GenerativeQuestionsFeatureConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
GenerativeQuestionsFeatureConfigOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateGenerativeQuestionsFeatureConfigRequest other)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(UpdateGenerativeQuestionsFeatureConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateGenerativeQuestionsFeatureConfigRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
GenerativeQuestionsFeatureConfig |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
GenerativeQuestionsFeatureConfig |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GenerativeQuestionsFeatureConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionsFeatureConfigRequest.Builder |
|