Class Deployment.Result.Builder (0.14.2)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The deploymentTestResults to add.

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

The deploymentTestResults to add.

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

The bytes of the deploymentTestResults to add.

Returns
TypeDescription
Deployment.Result.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Deployment.Result build()
Returns
TypeDescription
Deployment.Result

buildPartial()

public Deployment.Result buildPartial()
Returns
TypeDescription
Deployment.Result

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Deployment.Result.Builder clone()
Returns
TypeDescription
Deployment.Result.Builder
Overrides

getDefaultInstanceForType()

public Deployment.Result getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the deploymentTestResults.

getDescriptorForType()

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

The bytes for experiment.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Deployment.Result other)

public Deployment.Result.Builder mergeFrom(Deployment.Result other)
Parameter
NameDescription
otherDeployment.Result
Returns
TypeDescription
Deployment.Result.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The deploymentTestResults to set.

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

The experiment to set.

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

The bytes for experiment to set.

Returns
TypeDescription
Deployment.Result.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Deployment.Result.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Deployment.Result.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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