Class AgentCoachingSuggestion.Builder

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

public static final class AgentCoachingSuggestion.Builder extends com.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.Builder> implements AgentCoachingSuggestionOrBuilder
 Suggestion for coaching agents.
 
Protobuf type google.cloud.dialogflow.v2.AgentCoachingSuggestion
  • 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<AgentCoachingSuggestion.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<AgentCoachingSuggestion.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<AgentCoachingSuggestion.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AgentCoachingSuggestion.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<AgentCoachingSuggestion.Builder>
      Throws:
      IOException
    • getApplicableInstructionsList

      public List<AgentCoachingInstruction> getApplicableInstructionsList()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApplicableInstructionsList in interface AgentCoachingSuggestionOrBuilder
    • getApplicableInstructionsCount

      public int getApplicableInstructionsCount()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApplicableInstructionsCount in interface AgentCoachingSuggestionOrBuilder
    • getApplicableInstructions

      public AgentCoachingInstruction getApplicableInstructions(int index)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApplicableInstructions in interface AgentCoachingSuggestionOrBuilder
    • setApplicableInstructions

      public AgentCoachingSuggestion.Builder setApplicableInstructions(int index, AgentCoachingInstruction value)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setApplicableInstructions

      public AgentCoachingSuggestion.Builder setApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addApplicableInstructions

      public AgentCoachingSuggestion.Builder addApplicableInstructions(AgentCoachingInstruction value)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addApplicableInstructions

      public AgentCoachingSuggestion.Builder addApplicableInstructions(int index, AgentCoachingInstruction value)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addApplicableInstructions

      public AgentCoachingSuggestion.Builder addApplicableInstructions(AgentCoachingInstruction.Builder builderForValue)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addApplicableInstructions

      public AgentCoachingSuggestion.Builder addApplicableInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllApplicableInstructions

      public AgentCoachingSuggestion.Builder addAllApplicableInstructions(Iterable<? extends AgentCoachingInstruction> values)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearApplicableInstructions

      public AgentCoachingSuggestion.Builder clearApplicableInstructions()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeApplicableInstructions

      public AgentCoachingSuggestion.Builder removeApplicableInstructions(int index)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getApplicableInstructionsBuilder

      public AgentCoachingInstruction.Builder getApplicableInstructionsBuilder(int index)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getApplicableInstructionsOrBuilder

      public AgentCoachingInstructionOrBuilder getApplicableInstructionsOrBuilder(int index)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApplicableInstructionsOrBuilder in interface AgentCoachingSuggestionOrBuilder
    • getApplicableInstructionsOrBuilderList

      public List<? extends AgentCoachingInstructionOrBuilder> getApplicableInstructionsOrBuilderList()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getApplicableInstructionsOrBuilderList in interface AgentCoachingSuggestionOrBuilder
    • addApplicableInstructionsBuilder

      public AgentCoachingInstruction.Builder addApplicableInstructionsBuilder()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addApplicableInstructionsBuilder

      public AgentCoachingInstruction.Builder addApplicableInstructionsBuilder(int index)
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getApplicableInstructionsBuilderList

      public List<AgentCoachingInstruction.Builder> getApplicableInstructionsBuilderList()
       Optional. Instructions applicable based on the current context.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction applicable_instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getAgentActionSuggestionsList

      public List<AgentCoachingSuggestion.AgentActionSuggestion> getAgentActionSuggestionsList()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionSuggestionsList in interface AgentCoachingSuggestionOrBuilder
    • getAgentActionSuggestionsCount

      public int getAgentActionSuggestionsCount()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionSuggestionsCount in interface AgentCoachingSuggestionOrBuilder
    • getAgentActionSuggestions

      public AgentCoachingSuggestion.AgentActionSuggestion getAgentActionSuggestions(int index)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionSuggestions in interface AgentCoachingSuggestionOrBuilder
    • setAgentActionSuggestions

      public AgentCoachingSuggestion.Builder setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setAgentActionSuggestions

      public AgentCoachingSuggestion.Builder setAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAgentActionSuggestions

       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAgentActionSuggestions

      public AgentCoachingSuggestion.Builder addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion value)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAgentActionSuggestions

       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAgentActionSuggestions

      public AgentCoachingSuggestion.Builder addAgentActionSuggestions(int index, AgentCoachingSuggestion.AgentActionSuggestion.Builder builderForValue)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAgentActionSuggestions

      public AgentCoachingSuggestion.Builder addAllAgentActionSuggestions(Iterable<? extends AgentCoachingSuggestion.AgentActionSuggestion> values)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearAgentActionSuggestions

      public AgentCoachingSuggestion.Builder clearAgentActionSuggestions()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeAgentActionSuggestions

      public AgentCoachingSuggestion.Builder removeAgentActionSuggestions(int index)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAgentActionSuggestionsBuilder

      public AgentCoachingSuggestion.AgentActionSuggestion.Builder getAgentActionSuggestionsBuilder(int index)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAgentActionSuggestionsOrBuilder

      public AgentCoachingSuggestion.AgentActionSuggestionOrBuilder getAgentActionSuggestionsOrBuilder(int index)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionSuggestionsOrBuilder in interface AgentCoachingSuggestionOrBuilder
    • getAgentActionSuggestionsOrBuilderList

      public List<? extends AgentCoachingSuggestion.AgentActionSuggestionOrBuilder> getAgentActionSuggestionsOrBuilderList()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentActionSuggestionsOrBuilderList in interface AgentCoachingSuggestionOrBuilder
    • addAgentActionSuggestionsBuilder

      public AgentCoachingSuggestion.AgentActionSuggestion.Builder addAgentActionSuggestionsBuilder()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAgentActionSuggestionsBuilder

      public AgentCoachingSuggestion.AgentActionSuggestion.Builder addAgentActionSuggestionsBuilder(int index)
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAgentActionSuggestionsBuilderList

      public List<AgentCoachingSuggestion.AgentActionSuggestion.Builder> getAgentActionSuggestionsBuilderList()
       Optional. Suggested actions for the agent to take.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion agent_action_suggestions = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSampleResponsesList

      public List<AgentCoachingSuggestion.SampleResponse> getSampleResponsesList()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSampleResponsesList in interface AgentCoachingSuggestionOrBuilder
    • getSampleResponsesCount

      public int getSampleResponsesCount()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSampleResponsesCount in interface AgentCoachingSuggestionOrBuilder
    • getSampleResponses

      public AgentCoachingSuggestion.SampleResponse getSampleResponses(int index)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSampleResponses in interface AgentCoachingSuggestionOrBuilder
    • setSampleResponses

      public AgentCoachingSuggestion.Builder setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setSampleResponses

      public AgentCoachingSuggestion.Builder setSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSampleResponses

       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSampleResponses

      public AgentCoachingSuggestion.Builder addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse value)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSampleResponses

       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSampleResponses

      public AgentCoachingSuggestion.Builder addSampleResponses(int index, AgentCoachingSuggestion.SampleResponse.Builder builderForValue)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllSampleResponses

      public AgentCoachingSuggestion.Builder addAllSampleResponses(Iterable<? extends AgentCoachingSuggestion.SampleResponse> values)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearSampleResponses

      public AgentCoachingSuggestion.Builder clearSampleResponses()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeSampleResponses

      public AgentCoachingSuggestion.Builder removeSampleResponses(int index)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSampleResponsesBuilder

      public AgentCoachingSuggestion.SampleResponse.Builder getSampleResponsesBuilder(int index)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSampleResponsesOrBuilder

      public AgentCoachingSuggestion.SampleResponseOrBuilder getSampleResponsesOrBuilder(int index)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSampleResponsesOrBuilder in interface AgentCoachingSuggestionOrBuilder
    • getSampleResponsesOrBuilderList

      public List<? extends AgentCoachingSuggestion.SampleResponseOrBuilder> getSampleResponsesOrBuilderList()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSampleResponsesOrBuilderList in interface AgentCoachingSuggestionOrBuilder
    • addSampleResponsesBuilder

      public AgentCoachingSuggestion.SampleResponse.Builder addSampleResponsesBuilder()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSampleResponsesBuilder

      public AgentCoachingSuggestion.SampleResponse.Builder addSampleResponsesBuilder(int index)
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSampleResponsesBuilderList

      public List<AgentCoachingSuggestion.SampleResponse.Builder> getSampleResponsesBuilderList()
       Optional. Sample response for the Agent.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingSuggestion.SampleResponse sample_responses = 3 [(.google.api.field_behavior) = OPTIONAL];