Class Deployment.Result.Builder

  • All Implemented Interfaces:
    Deployment.ResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Deployment.Result

    public static final class Deployment.Result.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
    implements Deployment.ResultOrBuilder
     Result of the deployment.
     
    Protobuf type google.cloud.dialogflow.cx.v3.Deployment.Result
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • clear

        public Deployment.Result.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • getDefaultInstanceForType

        public Deployment.Result getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Deployment.Result build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Deployment.Result buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Deployment.Result.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • setField

        public Deployment.Result.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • clearField

        public Deployment.Result.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • clearOneof

        public Deployment.Result.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • setRepeatedField

        public Deployment.Result.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • addRepeatedField

        public Deployment.Result.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • mergeFrom

        public Deployment.Result.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deployment.Result.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • mergeFrom

        public Deployment.Result.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deployment.Result.Builder>
        Throws:
        IOException
      • getDeploymentTestResultsList

        public com.google.protobuf.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) = { ... }
        Specified by:
        getDeploymentTestResultsList in interface Deployment.ResultOrBuilder
        Returns:
        A list containing the deploymentTestResults.
      • 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) = { ... }
        Specified by:
        getDeploymentTestResultsCount in interface Deployment.ResultOrBuilder
        Returns:
        The count of deploymentTestResults.
      • getDeploymentTestResults

        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) = { ... }
        Specified by:
        getDeploymentTestResults in interface Deployment.ResultOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The deploymentTestResults at the given index.
      • getDeploymentTestResultsBytes

        public com.google.protobuf.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) = { ... }
        Specified by:
        getDeploymentTestResultsBytes in interface Deployment.ResultOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the deploymentTestResults at the given index.
      • setDeploymentTestResults

        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:
        index - The index to set the value at.
        value - The deploymentTestResults to set.
        Returns:
        This builder for chaining.
      • addDeploymentTestResults

        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) = { ... }
        Parameters:
        value - The deploymentTestResults to add.
        Returns:
        This builder for chaining.
      • addAllDeploymentTestResults

        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) = { ... }
        Parameters:
        values - The deploymentTestResults to add.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • addDeploymentTestResultsBytes

        public Deployment.Result.Builder addDeploymentTestResultsBytes​(com.google.protobuf.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) = { ... }
        Parameters:
        value - The bytes of the deploymentTestResults to add.
        Returns:
        This builder for chaining.
      • 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) = { ... }
        Specified by:
        getExperiment in interface Deployment.ResultOrBuilder
        Returns:
        The experiment.
      • getExperimentBytes

        public com.google.protobuf.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) = { ... }
        Specified by:
        getExperimentBytes in interface Deployment.ResultOrBuilder
        Returns:
        The bytes for experiment.
      • setExperiment

        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) = { ... }
        Parameters:
        value - The experiment to set.
        Returns:
        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:
        This builder for chaining.
      • setExperimentBytes

        public Deployment.Result.Builder setExperimentBytes​(com.google.protobuf.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) = { ... }
        Parameters:
        value - The bytes for experiment to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Deployment.Result.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>
      • mergeUnknownFields

        public final Deployment.Result.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Result.Builder>