Class AgentCoachingContext.Builder

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

public static final class AgentCoachingContext.Builder extends com.google.protobuf.GeneratedMessage.Builder<AgentCoachingContext.Builder> implements AgentCoachingContextOrBuilder
 Agent Coaching context that customer can configure.
 
Protobuf type google.cloud.dialogflow.v2.AgentCoachingContext
  • 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<AgentCoachingContext.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<AgentCoachingContext.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<AgentCoachingContext.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AgentCoachingContext.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<AgentCoachingContext.Builder>
      Throws:
      IOException
    • getOverarchingGuidance

      public String getOverarchingGuidance()
       Optional. The overarching guidance for the agent coaching. This should be
       set only for v1.5 and later versions.
       
      string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOverarchingGuidance in interface AgentCoachingContextOrBuilder
      Returns:
      The overarchingGuidance.
    • getOverarchingGuidanceBytes

      public com.google.protobuf.ByteString getOverarchingGuidanceBytes()
       Optional. The overarching guidance for the agent coaching. This should be
       set only for v1.5 and later versions.
       
      string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOverarchingGuidanceBytes in interface AgentCoachingContextOrBuilder
      Returns:
      The bytes for overarchingGuidance.
    • setOverarchingGuidance

      public AgentCoachingContext.Builder setOverarchingGuidance(String value)
       Optional. The overarching guidance for the agent coaching. This should be
       set only for v1.5 and later versions.
       
      string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The overarchingGuidance to set.
      Returns:
      This builder for chaining.
    • clearOverarchingGuidance

      public AgentCoachingContext.Builder clearOverarchingGuidance()
       Optional. The overarching guidance for the agent coaching. This should be
       set only for v1.5 and later versions.
       
      string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOverarchingGuidanceBytes

      public AgentCoachingContext.Builder setOverarchingGuidanceBytes(com.google.protobuf.ByteString value)
       Optional. The overarching guidance for the agent coaching. This should be
       set only for v1.5 and later versions.
       
      string overarching_guidance = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for overarchingGuidance to set.
      Returns:
      This builder for chaining.
    • getInstructionsList

      public List<AgentCoachingInstruction> getInstructionsList()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInstructionsList in interface AgentCoachingContextOrBuilder
    • getInstructionsCount

      public int getInstructionsCount()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInstructionsCount in interface AgentCoachingContextOrBuilder
    • getInstructions

      public AgentCoachingInstruction getInstructions(int index)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInstructions in interface AgentCoachingContextOrBuilder
    • setInstructions

      public AgentCoachingContext.Builder setInstructions(int index, AgentCoachingInstruction value)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setInstructions

      public AgentCoachingContext.Builder setInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addInstructions

       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addInstructions

      public AgentCoachingContext.Builder addInstructions(int index, AgentCoachingInstruction value)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addInstructions

      public AgentCoachingContext.Builder addInstructions(AgentCoachingInstruction.Builder builderForValue)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addInstructions

      public AgentCoachingContext.Builder addInstructions(int index, AgentCoachingInstruction.Builder builderForValue)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllInstructions

      public AgentCoachingContext.Builder addAllInstructions(Iterable<? extends AgentCoachingInstruction> values)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearInstructions

      public AgentCoachingContext.Builder clearInstructions()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeInstructions

      public AgentCoachingContext.Builder removeInstructions(int index)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getInstructionsBuilder

      public AgentCoachingInstruction.Builder getInstructionsBuilder(int index)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getInstructionsOrBuilder

      public AgentCoachingInstructionOrBuilder getInstructionsOrBuilder(int index)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInstructionsOrBuilder in interface AgentCoachingContextOrBuilder
    • getInstructionsOrBuilderList

      public List<? extends AgentCoachingInstructionOrBuilder> getInstructionsOrBuilderList()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInstructionsOrBuilderList in interface AgentCoachingContextOrBuilder
    • addInstructionsBuilder

      public AgentCoachingInstruction.Builder addInstructionsBuilder()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addInstructionsBuilder

      public AgentCoachingInstruction.Builder addInstructionsBuilder(int index)
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getInstructionsBuilderList

      public List<AgentCoachingInstruction.Builder> getInstructionsBuilderList()
       Optional. Customized instructions for agent coaching.
       
      repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getVersion

      public String getVersion()
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.2"].
       
      string version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVersion in interface AgentCoachingContextOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.2"].
       
      string version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVersionBytes in interface AgentCoachingContextOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public AgentCoachingContext.Builder setVersion(String value)
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.2"].
       
      string version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public AgentCoachingContext.Builder clearVersion()
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.2"].
       
      string version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public AgentCoachingContext.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.2"].
       
      string version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getOutputLanguageCode

      public String getOutputLanguageCode()
       Optional. Output language code.
       
      string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputLanguageCode in interface AgentCoachingContextOrBuilder
      Returns:
      The outputLanguageCode.
    • getOutputLanguageCodeBytes

      public com.google.protobuf.ByteString getOutputLanguageCodeBytes()
       Optional. Output language code.
       
      string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputLanguageCodeBytes in interface AgentCoachingContextOrBuilder
      Returns:
      The bytes for outputLanguageCode.
    • setOutputLanguageCode

      public AgentCoachingContext.Builder setOutputLanguageCode(String value)
       Optional. Output language code.
       
      string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The outputLanguageCode to set.
      Returns:
      This builder for chaining.
    • clearOutputLanguageCode

      public AgentCoachingContext.Builder clearOutputLanguageCode()
       Optional. Output language code.
       
      string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOutputLanguageCodeBytes

      public AgentCoachingContext.Builder setOutputLanguageCodeBytes(com.google.protobuf.ByteString value)
       Optional. Output language code.
       
      string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for outputLanguageCode to set.
      Returns:
      This builder for chaining.