Class UpdateExperimentRequest.Builder (0.14.1)

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.v3.UpdateExperimentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateExperimentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

build()

public UpdateExperimentRequest build()
Returns
TypeDescription
UpdateExperimentRequest

buildPartial()

public UpdateExperimentRequest buildPartial()
Returns
TypeDescription
UpdateExperimentRequest

clear()

public UpdateExperimentRequest.Builder clear()
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

clearExperiment()

public UpdateExperimentRequest.Builder clearExperiment()

Required. The experiment to update.

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

Returns
TypeDescription
UpdateExperimentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExperimentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateExperimentRequest.Builder

clone()

public UpdateExperimentRequest.Builder clone()
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateExperimentRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExperimentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExperiment()

public Experiment getExperiment()

Required. The experiment to update.

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

Returns
TypeDescription
Experiment

The experiment.

getExperimentBuilder()

public Experiment.Builder getExperimentBuilder()

Required. The experiment to update.

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

Returns
TypeDescription
Experiment.Builder

getExperimentOrBuilder()

public ExperimentOrBuilder getExperimentOrBuilder()

Required. The experiment to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasExperiment()

public boolean hasExperiment()

Required. The experiment to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExperiment(Experiment value)

public UpdateExperimentRequest.Builder mergeExperiment(Experiment value)

Required. The experiment to update.

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

Parameter
NameDescription
valueExperiment
Returns
TypeDescription
UpdateExperimentRequest.Builder

mergeFrom(UpdateExperimentRequest other)

public UpdateExperimentRequest.Builder mergeFrom(UpdateExperimentRequest other)
Parameter
NameDescription
otherUpdateExperimentRequest
Returns
TypeDescription
UpdateExperimentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateExperimentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateExperimentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExperimentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateExperimentRequest.Builder

setExperiment(Experiment value)

public UpdateExperimentRequest.Builder setExperiment(Experiment value)

Required. The experiment to update.

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

Parameter
NameDescription
valueExperiment
Returns
TypeDescription
UpdateExperimentRequest.Builder

setExperiment(Experiment.Builder builderForValue)

public UpdateExperimentRequest.Builder setExperiment(Experiment.Builder builderForValue)

Required. The experiment to update.

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

Parameter
NameDescription
builderForValueExperiment.Builder
Returns
TypeDescription
UpdateExperimentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateExperimentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

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

public UpdateExperimentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateExperimentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExperimentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateExperimentRequest.Builder