Package com.google.cloud.dialogflow.v2
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 Summary
Modifier and TypeMethodDescriptionaddAllInstructions(Iterable<? extends AgentCoachingInstruction> values) Optional.addInstructions(int index, AgentCoachingInstruction value) Optional.addInstructions(int index, AgentCoachingInstruction.Builder builderForValue) Optional.Optional.addInstructions(AgentCoachingInstruction.Builder builderForValue) Optional.Optional.addInstructionsBuilder(int index) Optional.build()clear()Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstructions(int index) Optional.getInstructionsBuilder(int index) Optional.Optional.intOptional.Optional.getInstructionsOrBuilder(int index) Optional.List<? extends AgentCoachingInstructionOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AgentCoachingContext other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeInstructions(int index) Optional.setInstructions(int index, AgentCoachingInstruction value) Optional.setInstructions(int index, AgentCoachingInstruction.Builder builderForValue) Optional.setOutputLanguageCode(String value) Optional.setOutputLanguageCodeBytes(com.google.protobuf.ByteString value) Optional.setOverarchingGuidance(String value) Optional.setOverarchingGuidanceBytes(com.google.protobuf.ByteString value) Optional.setVersion(String value) Optional.setVersionBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingContext.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingContext.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentCoachingContext.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentCoachingContext.Builder>- Throws:
IOException
-
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:
getOverarchingGuidancein interfaceAgentCoachingContextOrBuilder- 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:
getOverarchingGuidanceBytesin interfaceAgentCoachingContextOrBuilder- Returns:
- The bytes for overarchingGuidance.
-
setOverarchingGuidance
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
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
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInstructionsListin interfaceAgentCoachingContextOrBuilder
-
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:
getInstructionsCountin interfaceAgentCoachingContextOrBuilder
-
getInstructions
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInstructionsin interfaceAgentCoachingContextOrBuilder
-
setInstructions
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
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
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
removeInstructions
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getInstructionsBuilder
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getInstructionsOrBuilder
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInstructionsOrBuilderin interfaceAgentCoachingContextOrBuilder
-
getInstructionsOrBuilderList
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInstructionsOrBuilderListin interfaceAgentCoachingContextOrBuilder
-
addInstructionsBuilder
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addInstructionsBuilder
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getInstructionsBuilderList
Optional. Customized instructions for agent coaching.
repeated .google.cloud.dialogflow.v2.AgentCoachingInstruction instructions = 1 [(.google.api.field_behavior) = OPTIONAL]; -
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:
getVersionin interfaceAgentCoachingContextOrBuilder- 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:
getVersionBytesin interfaceAgentCoachingContextOrBuilder- Returns:
- The bytes for version.
-
setVersion
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
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
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
Optional. Output language code.
string output_language_code = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputLanguageCodein interfaceAgentCoachingContextOrBuilder- 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:
getOutputLanguageCodeBytesin interfaceAgentCoachingContextOrBuilder- Returns:
- The bytes for outputLanguageCode.
-
setOutputLanguageCode
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
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.
-