Class Deployment.Result.Builder (0.58.0)

public static final class Deployment.Result.Builder extends GeneratedMessageV3.Builder<Deployment.Result.Builder> implements Deployment.ResultOrBuilder

Result of the deployment.

Protobuf type google.cloud.dialogflow.cx.v3.Deployment.Result

Static Methods

getDescriptor()

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

Methods

addAllDeploymentTestResults(Iterable<String> values)

public Deployment.Result.Builder addAllDeploymentTestResults(Iterable<String> values)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The deploymentTestResults to add.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

addDeploymentTestResults(String value)

public Deployment.Result.Builder addDeploymentTestResults(String value)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The deploymentTestResults to add.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

addDeploymentTestResultsBytes(ByteString value)

public Deployment.Result.Builder addDeploymentTestResultsBytes(ByteString value)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the deploymentTestResults to add.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Deployment.Result build()
Returns
Type Description
Deployment.Result

buildPartial()

public Deployment.Result buildPartial()
Returns
Type Description
Deployment.Result

clear()

public Deployment.Result.Builder clear()
Returns
Type Description
Deployment.Result.Builder
Overrides

clearDeploymentTestResults()

public Deployment.Result.Builder clearDeploymentTestResults()

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

clearExperiment()

public Deployment.Result.Builder clearExperiment()

The name of the experiment triggered by this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

string experiment = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Deployment.Result.Builder clone()
Returns
Type Description
Deployment.Result.Builder
Overrides

getDefaultInstanceForType()

public Deployment.Result getDefaultInstanceForType()
Returns
Type Description
Deployment.Result

getDeploymentTestResults(int index)

public String getDeploymentTestResults(int index)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The deploymentTestResults at the given index.

getDeploymentTestResultsBytes(int index)

public ByteString getDeploymentTestResultsBytes(int index)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the deploymentTestResults at the given index.

getDeploymentTestResultsCount()

public int getDeploymentTestResultsCount()

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of deploymentTestResults.

getDeploymentTestResultsList()

public ProtocolStringList getDeploymentTestResultsList()

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the deploymentTestResults.

getDescriptorForType()

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

getExperiment()

public String getExperiment()

The name of the experiment triggered by this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

string experiment = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The experiment.

getExperimentBytes()

public ByteString getExperimentBytes()

The name of the experiment triggered by this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

string experiment = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for experiment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Deployment.Result other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeploymentTestResults(int index, String value)

public Deployment.Result.Builder setDeploymentTestResults(int index, String value)

Results of test cases running before the deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>.

repeated string deployment_test_results = 1 [(.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The deploymentTestResults to set.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

setExperiment(String value)

public Deployment.Result.Builder setExperiment(String value)

The name of the experiment triggered by this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

string experiment = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The experiment to set.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

setExperimentBytes(ByteString value)

public Deployment.Result.Builder setExperimentBytes(ByteString value)

The name of the experiment triggered by this deployment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/experiments/<Experiment ID>.

string experiment = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for experiment to set.

Returns
Type Description
Deployment.Result.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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