public static final class UpdateGenerativeSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateGenerativeSettingsRequest.Builder> implements UpdateGenerativeSettingsRequestOrBuilder
Request for
UpdateGenerativeSettings
RPC.
Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateGenerativeSettingsRequest
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 UpdateGenerativeSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateGenerativeSettingsRequest build()
buildPartial()
public UpdateGenerativeSettingsRequest buildPartial()
clear()
public UpdateGenerativeSettingsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGenerativeSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGenerativeSettings()
public UpdateGenerativeSettingsRequest.Builder clearGenerativeSettings()
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGenerativeSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateGenerativeSettingsRequest.Builder clearUpdateMask()
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateGenerativeSettingsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateGenerativeSettingsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGenerativeSettings()
public GenerativeSettings getGenerativeSettings()
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getGenerativeSettingsBuilder()
public GenerativeSettings.Builder getGenerativeSettingsBuilder()
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getGenerativeSettingsOrBuilder()
public GenerativeSettingsOrBuilder getGenerativeSettingsOrBuilder()
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasGenerativeSettings()
public boolean hasGenerativeSettings()
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the generativeSettings field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.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(UpdateGenerativeSettingsRequest other)
public UpdateGenerativeSettingsRequest.Builder mergeFrom(UpdateGenerativeSettingsRequest other)
public UpdateGenerativeSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateGenerativeSettingsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGenerativeSettings(GenerativeSettings value)
public UpdateGenerativeSettingsRequest.Builder mergeGenerativeSettings(GenerativeSettings value)
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGenerativeSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateGenerativeSettingsRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGenerativeSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGenerativeSettings(GenerativeSettings value)
public UpdateGenerativeSettingsRequest.Builder setGenerativeSettings(GenerativeSettings value)
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
setGenerativeSettings(GenerativeSettings.Builder builderForValue)
public UpdateGenerativeSettingsRequest.Builder setGenerativeSettings(GenerativeSettings.Builder builderForValue)
Required. Generative settings to update.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGenerativeSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGenerativeSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateGenerativeSettingsRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGenerativeSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The mask to control which fields get updated. If the mask is not
present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|