Class RunContinuousTestRequest.Builder (0.13.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.v3.RunContinuousTestRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunContinuousTestRequest build()
Returns
TypeDescription
RunContinuousTestRequest

buildPartial()

public RunContinuousTestRequest buildPartial()
Returns
TypeDescription
RunContinuousTestRequest

clear()

public RunContinuousTestRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
RunContinuousTestRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RunContinuousTestRequest getDefaultInstanceForType()
Returns
TypeDescription
RunContinuousTestRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for environment.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunContinuousTestRequest other)

public RunContinuousTestRequest.Builder mergeFrom(RunContinuousTestRequest other)
Parameter
NameDescription
otherRunContinuousTestRequest
Returns
TypeDescription
RunContinuousTestRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunContinuousTestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The environment to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for environment to set.

Returns
TypeDescription
RunContinuousTestRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public RunContinuousTestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunContinuousTestRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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