Class RunContinuousTestRequest.Builder (0.40.0)

public static final class RunContinuousTestRequest.Builder extends GeneratedMessageV3.Builder<RunContinuousTestRequest.Builder> implements RunContinuousTestRequestOrBuilder

The request message for Environments.RunContinuousTest.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunContinuousTestRequest build()
Returns
Type Description
RunContinuousTestRequest

buildPartial()

public RunContinuousTestRequest buildPartial()
Returns
Type Description
RunContinuousTestRequest

clear()

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

clearEnvironment()

public RunContinuousTestRequest.Builder clearEnvironment()

Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

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

Returns
Type Description
RunContinuousTestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RunContinuousTestRequest getDefaultInstanceForType()
Returns
Type Description
RunContinuousTestRequest

getDescriptorForType()

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

getEnvironment()

public String getEnvironment()

Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

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

Returns
Type Description
String

The environment.

getEnvironmentBytes()

public ByteString getEnvironmentBytes()

Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

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

Returns
Type Description
ByteString

The bytes for environment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunContinuousTestRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnvironment(String value)

public RunContinuousTestRequest.Builder setEnvironment(String value)

Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

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

Parameter
Name Description
value String

The environment to set.

Returns
Type Description
RunContinuousTestRequest.Builder

This builder for chaining.

setEnvironmentBytes(ByteString value)

public RunContinuousTestRequest.Builder setEnvironmentBytes(ByteString value)

Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

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

Parameter
Name Description
value ByteString

The bytes for environment to set.

Returns
Type Description
RunContinuousTestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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