Class UpdateGenerativeSettingsRequest.Builder (0.42.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateGenerativeSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
Overrides

build()

public UpdateGenerativeSettingsRequest build()
Returns
Type Description
UpdateGenerativeSettingsRequest

buildPartial()

public UpdateGenerativeSettingsRequest buildPartial()
Returns
Type Description
UpdateGenerativeSettingsRequest

clear()

public UpdateGenerativeSettingsRequest.Builder clear()
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateGenerativeSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateGenerativeSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

clone()

public UpdateGenerativeSettingsRequest.Builder clone()
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateGenerativeSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGenerativeSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGenerativeSettings()

public GenerativeSettings getGenerativeSettings()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeSettings

The generativeSettings.

getGenerativeSettingsBuilder()

public GenerativeSettings.Builder getGenerativeSettingsBuilder()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeSettings.Builder

getGenerativeSettingsOrBuilder()

public GenerativeSettingsOrBuilder getGenerativeSettingsOrBuilder()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeSettingsOrBuilder

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];

Returns
Type Description
Builder

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];

Returns
Type Description
FieldMaskOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateGenerativeSettingsRequest other)

public UpdateGenerativeSettingsRequest.Builder mergeFrom(UpdateGenerativeSettingsRequest other)
Parameter
Name Description
other UpdateGenerativeSettingsRequest
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateGenerativeSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateGenerativeSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Parameter
Name Description
value GenerativeSettings
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGenerativeSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateGenerativeSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Parameter
Name Description
value GenerativeSettings
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

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];

Parameter
Name Description
builderForValue GenerativeSettings.Builder
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateGenerativeSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateGenerativeSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder
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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

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
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder