Class UpdateExperimentRequest.Builder (0.29.0)

public static final class UpdateExperimentRequest.Builder extends GeneratedMessageV3.Builder<UpdateExperimentRequest.Builder> implements UpdateExperimentRequestOrBuilder

The request message for Experiments.UpdateExperiment.

Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateExperimentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateExperimentRequest build()
Returns
Type Description
UpdateExperimentRequest

buildPartial()

public UpdateExperimentRequest buildPartial()
Returns
Type Description
UpdateExperimentRequest

clear()

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

clearExperiment()

public UpdateExperimentRequest.Builder clearExperiment()

Required. The experiment to update.

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

Returns
Type Description
UpdateExperimentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExperimentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

clearUpdateMask()

public UpdateExperimentRequest.Builder clearUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateExperimentRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateExperimentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExperimentRequest

getDescriptorForType()

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

getExperiment()

public Experiment getExperiment()

Required. The experiment to update.

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

Returns
Type Description
Experiment

The experiment.

getExperimentBuilder()

public Experiment.Builder getExperimentBuilder()

Required. The experiment to update.

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

Returns
Type Description
Experiment.Builder

getExperimentOrBuilder()

public ExperimentOrBuilder getExperimentOrBuilder()

Required. The experiment to update.

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

Returns
Type Description
ExperimentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasExperiment()

public boolean hasExperiment()

Required. The experiment to update.

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

Returns
Type Description
boolean

Whether the experiment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

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

mergeExperiment(Experiment value)

public UpdateExperimentRequest.Builder mergeExperiment(Experiment value)

Required. The experiment to update.

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

Parameter
Name Description
value Experiment
Returns
Type Description
UpdateExperimentRequest.Builder

mergeFrom(UpdateExperimentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateExperimentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExperimentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateExperimentRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExperimentRequest.Builder

setExperiment(Experiment value)

public UpdateExperimentRequest.Builder setExperiment(Experiment value)

Required. The experiment to update.

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

Parameter
Name Description
value Experiment
Returns
Type Description
UpdateExperimentRequest.Builder

setExperiment(Experiment.Builder builderForValue)

public UpdateExperimentRequest.Builder setExperiment(Experiment.Builder builderForValue)

Required. The experiment to update.

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

Parameter
Name Description
builderForValue Experiment.Builder
Returns
Type Description
UpdateExperimentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExperimentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateExperimentRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExperimentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateExperimentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateExperimentRequest.Builder