public final class TraceBlock extends GeneratedMessage implements TraceBlockOrBuilder
The trace block tracks a sequence of actions taken by the agent in a flow or
a playbook.
Protobuf type google.cloud.dialogflow.cx.v3beta1.TraceBlock
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMPLETE_TIME_FIELD_NUMBER
public static final int COMPLETE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
END_STATE_FIELD_NUMBER
public static final int END_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FLOW_TRACE_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INPUT_PARAMETERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OUTPUT_PARAMETERS_FIELD_NUMBER
public static final int OUTPUT_PARAMETERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PLAYBOOK_TRACE_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SPEECH_PROCESSING_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TraceBlock getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TraceBlock.Builder newBuilder()
newBuilder(TraceBlock prototype)
public static TraceBlock.Builder newBuilder(TraceBlock prototype)
public static TraceBlock parseDelimitedFrom(InputStream input)
public static TraceBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TraceBlock parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TraceBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TraceBlock parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TraceBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TraceBlock parseFrom(CodedInputStream input)
public static TraceBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TraceBlock parseFrom(InputStream input)
public static TraceBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TraceBlock parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TraceBlock parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TraceBlock> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getActions(int index)
public Action getActions(int index)
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Action |
|
getActionsCount()
public int getActionsCount()
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
| Returns |
| Type |
Description |
int |
|
getActionsList()
public List<Action> getActionsList()
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
getActionsOrBuilder(int index)
public ActionOrBuilder getActionsOrBuilder(int index)
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
| Parameter |
| Name |
Description |
index |
int
|
getActionsOrBuilderList()
public List<? extends ActionOrBuilder> getActionsOrBuilderList()
The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3beta1.Action actions = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionOrBuilder> |
|
getCompleteTime()
public Timestamp getCompleteTime()
Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The completeTime.
|
getCompleteTimeOrBuilder()
public TimestampOrBuilder getCompleteTimeOrBuilder()
Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public TraceBlock getDefaultInstanceForType()
getEndState()
public OutputState getEndState()
Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
getEndStateValue()
public int getEndStateValue()
Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3beta1.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for endState.
|
public FlowTraceMetadata getFlowTraceMetadata()
Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
public FlowTraceMetadataOrBuilder getFlowTraceMetadataOrBuilder()
Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
public Struct getInputParameters()
Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The inputParameters.
|
public StructOrBuilder getInputParametersOrBuilder()
Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
getOutputParameters()
public Struct getOutputParameters()
Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Struct |
The outputParameters.
|
getOutputParametersOrBuilder()
public StructOrBuilder getOutputParametersOrBuilder()
Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<TraceBlock> getParserForType()
Overrides
public PlaybookTraceMetadata getPlaybookTraceMetadata()
Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
public PlaybookTraceMetadataOrBuilder getPlaybookTraceMetadataOrBuilder()
Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public SpeechProcessingMetadata getSpeechProcessingMetadata()
Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
public SpeechProcessingMetadataOrBuilder getSpeechProcessingMetadataOrBuilder()
Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
getStartTime()
public Timestamp getStartTime()
Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TraceBlock.TraceMetadataCase getTraceMetadataCase()
hasCompleteTime()
public boolean hasCompleteTime()
Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the completeTime field is set.
|
public boolean hasFlowTraceMetadata()
Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata flow_trace_metadata = 2;
| Returns |
| Type |
Description |
boolean |
Whether the flowTraceMetadata field is set.
|
public boolean hasInputParameters()
Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the inputParameters field is set.
|
hasOutputParameters()
public boolean hasOutputParameters()
Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the outputParameters field is set.
|
public boolean hasPlaybookTraceMetadata()
Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns |
| Type |
Description |
boolean |
Whether the playbookTraceMetadata field is set.
|
public boolean hasSpeechProcessingMetadata()
Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3beta1.SpeechProcessingMetadata speech_processing_metadata = 8;
| Returns |
| Type |
Description |
boolean |
Whether the speechProcessingMetadata field is set.
|
hasStartTime()
public boolean hasStartTime()
Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TraceBlock.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TraceBlock.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public TraceBlock.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides