Class Deployment.Result.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Result.Builder>
com.google.cloud.dialogflow.cx.v3beta1.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.GeneratedMessage.Builder<Deployment.Result.Builder> implements Deployment.ResultOrBuilder
 Result of the deployment.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Deployment.Result
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Deployment.Result.Builder mergeFrom(Deployment.Result other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.
       
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>.
       
      string experiment = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for experiment to set.
      Returns:
      This builder for chaining.