Class StartExperimentRequest.Builder (0.65.0)

public static final class StartExperimentRequest.Builder extends GeneratedMessageV3.Builder<StartExperimentRequest.Builder> implements StartExperimentRequestOrBuilder

The request message for Experiments.StartExperiment.

Protobuf type google.cloud.dialogflow.cx.v3.StartExperimentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartExperimentRequest build()
Returns
Type Description
StartExperimentRequest

buildPartial()

public StartExperimentRequest buildPartial()
Returns
Type Description
StartExperimentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StartExperimentRequest.Builder clearName()

Required. Resource name of the experiment to start. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
StartExperimentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StartExperimentRequest getDefaultInstanceForType()
Returns
Type Description
StartExperimentRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the experiment to start. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the experiment to start. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartExperimentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StartExperimentRequest.Builder setName(String value)

Required. Resource name of the experiment to start. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartExperimentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartExperimentRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the experiment to start. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StartExperimentRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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