Class StartExperimentRequest.Builder (0.13.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.v3beta1.StartExperimentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartExperimentRequest build()
Returns
TypeDescription
StartExperimentRequest

buildPartial()

public StartExperimentRequest buildPartial()
Returns
TypeDescription
StartExperimentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StartExperimentRequest.Builder clearName()

Required. Resource name of the experiment to start. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

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

Returns
TypeDescription
StartExperimentRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StartExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StartExperimentRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public StartExperimentRequest getDefaultInstanceForType()
Returns
TypeDescription
StartExperimentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the experiment to start. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the experiment to start. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StartExperimentRequest other)

public StartExperimentRequest.Builder mergeFrom(StartExperimentRequest other)
Parameter
NameDescription
otherStartExperimentRequest
Returns
TypeDescription
StartExperimentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartExperimentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartExperimentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StartExperimentRequest.Builder setName(String value)

Required. Resource name of the experiment to start. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StartExperimentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartExperimentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StartExperimentRequest.Builder
Overrides