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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateExperimentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateExperimentRequest build()
Returns
buildPartial()
public UpdateExperimentRequest buildPartial()
Returns
clear()
public UpdateExperimentRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateExperimentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateExperimentRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateExperimentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExperiment()
public Experiment getExperiment()
Required. The experiment to update.
.google.cloud.dialogflow.cx.v3.Experiment experiment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getExperimentBuilder()
public Experiment.Builder getExperimentBuilder()
Required. The experiment to update.
.google.cloud.dialogflow.cx.v3.Experiment experiment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getExperimentOrBuilder()
public ExperimentOrBuilder getExperimentOrBuilder()
Required. The experiment to update.
.google.cloud.dialogflow.cx.v3.Experiment experiment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
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
hasExperiment()
public boolean hasExperiment()
Required. The experiment to update.
.google.cloud.dialogflow.cx.v3.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateExperimentRequest other)
public UpdateExperimentRequest.Builder mergeFrom(UpdateExperimentRequest other)
Parameter
Returns
public UpdateExperimentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateExperimentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExperimentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateExperimentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateExperimentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExperimentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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