Class UpdateExperimentRequest (0.55.0)

public final class UpdateExperimentRequest extends GeneratedMessageV3 implements UpdateExperimentRequestOrBuilder

The request message for Experiments.UpdateExperiment.

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

Static Fields

EXPERIMENT_FIELD_NUMBER

public static final int EXPERIMENT_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateExperimentRequest getDefaultInstance()
Returns
Type Description
UpdateExperimentRequest

getDescriptor()

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

newBuilder()

public static UpdateExperimentRequest.Builder newBuilder()
Returns
Type Description
UpdateExperimentRequest.Builder

newBuilder(UpdateExperimentRequest prototype)

public static UpdateExperimentRequest.Builder newBuilder(UpdateExperimentRequest prototype)
Parameter
Name Description
prototype UpdateExperimentRequest
Returns
Type Description
UpdateExperimentRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExperimentRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateExperimentRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExperimentRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExperimentRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateExperimentRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateExperimentRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExperimentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExperimentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateExperimentRequest> parser()
Returns
Type Description
Parser<UpdateExperimentRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateExperimentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExperimentRequest

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.

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

getParserForType()

public Parser<UpdateExperimentRequest> getParserForType()
Returns
Type Description
Parser<UpdateExperimentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateExperimentRequest.Builder newBuilderForType()
Returns
Type Description
UpdateExperimentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExperimentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateExperimentRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateExperimentRequest.Builder toBuilder()
Returns
Type Description
UpdateExperimentRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException