Class AgentValidationResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AgentValidationResult.Builder>
com.google.cloud.dialogflow.cx.v3beta1.AgentValidationResult.Builder
All Implemented Interfaces:
AgentValidationResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AgentValidationResult

public static final class AgentValidationResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<AgentValidationResult.Builder> implements AgentValidationResultOrBuilder
 The response message for
 [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.AgentValidationResult
  • 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<AgentValidationResult.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<AgentValidationResult.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<AgentValidationResult.Builder>
    • getDefaultInstanceForType

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

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

      public AgentValidationResult buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AgentValidationResult.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<AgentValidationResult.Builder>
    • mergeFrom

    • isInitialized

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

      public AgentValidationResult.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<AgentValidationResult.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The unique identifier of the agent validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`.
       
      string name = 1;
      Specified by:
      getName in interface AgentValidationResultOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the agent validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface AgentValidationResultOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AgentValidationResult.Builder setName(String value)
       The unique identifier of the agent validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AgentValidationResult.Builder clearName()
       The unique identifier of the agent validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public AgentValidationResult.Builder setNameBytes(com.google.protobuf.ByteString value)
       The unique identifier of the agent validation result.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFlowValidationResultsList

      public List<FlowValidationResult> getFlowValidationResultsList()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      Specified by:
      getFlowValidationResultsList in interface AgentValidationResultOrBuilder
    • getFlowValidationResultsCount

      public int getFlowValidationResultsCount()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      Specified by:
      getFlowValidationResultsCount in interface AgentValidationResultOrBuilder
    • getFlowValidationResults

      public FlowValidationResult getFlowValidationResults(int index)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      Specified by:
      getFlowValidationResults in interface AgentValidationResultOrBuilder
    • setFlowValidationResults

      public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult value)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • setFlowValidationResults

      public AgentValidationResult.Builder setFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addFlowValidationResults

      public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult value)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addFlowValidationResults

      public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult value)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addFlowValidationResults

      public AgentValidationResult.Builder addFlowValidationResults(FlowValidationResult.Builder builderForValue)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addFlowValidationResults

      public AgentValidationResult.Builder addFlowValidationResults(int index, FlowValidationResult.Builder builderForValue)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addAllFlowValidationResults

      public AgentValidationResult.Builder addAllFlowValidationResults(Iterable<? extends FlowValidationResult> values)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • clearFlowValidationResults

      public AgentValidationResult.Builder clearFlowValidationResults()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • removeFlowValidationResults

      public AgentValidationResult.Builder removeFlowValidationResults(int index)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • getFlowValidationResultsBuilder

      public FlowValidationResult.Builder getFlowValidationResultsBuilder(int index)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • getFlowValidationResultsOrBuilder

      public FlowValidationResultOrBuilder getFlowValidationResultsOrBuilder(int index)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      Specified by:
      getFlowValidationResultsOrBuilder in interface AgentValidationResultOrBuilder
    • getFlowValidationResultsOrBuilderList

      public List<? extends FlowValidationResultOrBuilder> getFlowValidationResultsOrBuilderList()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
      Specified by:
      getFlowValidationResultsOrBuilderList in interface AgentValidationResultOrBuilder
    • addFlowValidationResultsBuilder

      public FlowValidationResult.Builder addFlowValidationResultsBuilder()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • addFlowValidationResultsBuilder

      public FlowValidationResult.Builder addFlowValidationResultsBuilder(int index)
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;
    • getFlowValidationResultsBuilderList

      public List<FlowValidationResult.Builder> getFlowValidationResultsBuilderList()
       Contains all flow validation results.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.FlowValidationResult flow_validation_results = 2;