public static final class TraceBlock.Builder extends GeneratedMessage.Builder<TraceBlock.Builder> implements TraceBlockOrBuilderThe trace block tracks a sequence of actions taken by the agent in a flow or a playbook.
Protobuf type google.cloud.dialogflow.cx.v3.TraceBlock
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TraceBlock.BuilderImplements
TraceBlockOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addActions(Action value)
public TraceBlock.Builder addActions(Action value)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Action |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
addActions(Action.Builder builderForValue)
public TraceBlock.Builder addActions(Action.Builder builderForValue)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Action.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
addActions(int index, Action value)
public TraceBlock.Builder addActions(int index, Action value)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Action |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
addActions(int index, Action.Builder builderForValue)
public TraceBlock.Builder addActions(int index, Action.Builder builderForValue)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Action.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
addActionsBuilder()
public Action.Builder addActionsBuilder()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Returns | |
|---|---|
| Type | Description |
Action.Builder |
|
addActionsBuilder(int index)
public Action.Builder addActionsBuilder(int index)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Action.Builder |
|
addAllActions(Iterable<? extends Action> values)
public TraceBlock.Builder addAllActions(Iterable<? extends Action> values)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.Action> |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
build()
public TraceBlock build()| Returns | |
|---|---|
| Type | Description |
TraceBlock |
|
buildPartial()
public TraceBlock buildPartial()| Returns | |
|---|---|
| Type | Description |
TraceBlock |
|
clear()
public TraceBlock.Builder clear()| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearActions()
public TraceBlock.Builder clearActions()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearCompleteTime()
public TraceBlock.Builder clearCompleteTime()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 |
TraceBlock.Builder |
|
clearEndState()
public TraceBlock.Builder clearEndState()Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
This builder for chaining. |
clearFlowTraceMetadata()
public TraceBlock.Builder clearFlowTraceMetadata()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearInputParameters()
public TraceBlock.Builder clearInputParameters()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearOutputParameters()
public TraceBlock.Builder clearOutputParameters()Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearPlaybookTraceMetadata()
public TraceBlock.Builder clearPlaybookTraceMetadata()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearSpeechProcessingMetadata()
public TraceBlock.Builder clearSpeechProcessingMetadata()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
clearStartTime()
public TraceBlock.Builder clearStartTime()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 |
TraceBlock.Builder |
|
clearTraceMetadata()
public TraceBlock.Builder clearTraceMetadata()| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
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.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Action |
|
getActionsBuilder(int index)
public Action.Builder getActionsBuilder(int index)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Action.Builder |
|
getActionsBuilderList()
public List<Action.Builder> getActionsBuilderList()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getActionsCount()
public int getActionsCount()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.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.v3.Action actions = 3;
| Returns | |
|---|---|
| Type | Description |
List<Action> |
|
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.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ActionOrBuilder |
|
getActionsOrBuilderList()
public List<? extends ActionOrBuilder> getActionsOrBuilderList()The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.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. |
getCompleteTimeBuilder()
public Timestamp.Builder getCompleteTimeBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public TraceBlock getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TraceBlock |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndState()
public OutputState getEndState()Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputState |
The endState. |
getEndStateValue()
public int getEndStateValue()Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3.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. |
getFlowTraceMetadata()
public FlowTraceMetadata getFlowTraceMetadata()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
FlowTraceMetadata |
The flowTraceMetadata. |
getFlowTraceMetadataBuilder()
public FlowTraceMetadata.Builder getFlowTraceMetadataBuilder()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
FlowTraceMetadata.Builder |
|
getFlowTraceMetadataOrBuilder()
public FlowTraceMetadataOrBuilder getFlowTraceMetadataOrBuilder()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
FlowTraceMetadataOrBuilder |
|
getInputParameters()
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. |
getInputParametersBuilder()
public Struct.Builder getInputParametersBuilder()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getInputParametersOrBuilder()
public StructOrBuilder getInputParametersOrBuilder()Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
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. |
getOutputParametersBuilder()
public Struct.Builder getOutputParametersBuilder()Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getPlaybookTraceMetadata()
public PlaybookTraceMetadata getPlaybookTraceMetadata()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata |
The playbookTraceMetadata. |
getPlaybookTraceMetadataBuilder()
public PlaybookTraceMetadata.Builder getPlaybookTraceMetadataBuilder()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
|
getPlaybookTraceMetadataOrBuilder()
public PlaybookTraceMetadataOrBuilder getPlaybookTraceMetadataOrBuilder()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadataOrBuilder |
|
getSpeechProcessingMetadata()
public SpeechProcessingMetadata getSpeechProcessingMetadata()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Returns | |
|---|---|
| Type | Description |
SpeechProcessingMetadata |
The speechProcessingMetadata. |
getSpeechProcessingMetadataBuilder()
public SpeechProcessingMetadata.Builder getSpeechProcessingMetadataBuilder()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Returns | |
|---|---|
| Type | Description |
SpeechProcessingMetadata.Builder |
|
getSpeechProcessingMetadataOrBuilder()
public SpeechProcessingMetadataOrBuilder getSpeechProcessingMetadataOrBuilder()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Returns | |
|---|---|
| Type | Description |
SpeechProcessingMetadataOrBuilder |
|
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. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getTraceMetadataCase()
public TraceBlock.TraceMetadataCase getTraceMetadataCase()| Returns | |
|---|---|
| Type | Description |
TraceBlock.TraceMetadataCase |
|
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. |
hasFlowTraceMetadata()
public boolean hasFlowTraceMetadata()Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the flowTraceMetadata field is set. |
hasInputParameters()
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. |
hasPlaybookTraceMetadata()
public boolean hasPlaybookTraceMetadata()Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the playbookTraceMetadata field is set. |
hasSpeechProcessingMetadata()
public boolean hasSpeechProcessingMetadata()Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCompleteTime(Timestamp value)
public TraceBlock.Builder mergeCompleteTime(Timestamp value)Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeFlowTraceMetadata(FlowTraceMetadata value)
public TraceBlock.Builder mergeFlowTraceMetadata(FlowTraceMetadata value)Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FlowTraceMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeFrom(TraceBlock other)
public TraceBlock.Builder mergeFrom(TraceBlock other)| Parameter | |
|---|---|
| Name | Description |
other |
TraceBlock |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TraceBlock.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TraceBlock.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeInputParameters(Struct value)
public TraceBlock.Builder mergeInputParameters(Struct value)Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeOutputParameters(Struct value)
public TraceBlock.Builder mergeOutputParameters(Struct value)Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergePlaybookTraceMetadata(PlaybookTraceMetadata value)
public TraceBlock.Builder mergePlaybookTraceMetadata(PlaybookTraceMetadata value)Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PlaybookTraceMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeSpeechProcessingMetadata(SpeechProcessingMetadata value)
public TraceBlock.Builder mergeSpeechProcessingMetadata(SpeechProcessingMetadata value)Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
SpeechProcessingMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
mergeStartTime(Timestamp value)
public TraceBlock.Builder mergeStartTime(Timestamp value)Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
removeActions(int index)
public TraceBlock.Builder removeActions(int index)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setActions(int index, Action value)
public TraceBlock.Builder setActions(int index, Action value)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Action |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setActions(int index, Action.Builder builderForValue)
public TraceBlock.Builder setActions(int index, Action.Builder builderForValue)The actions performed by the agent and the user during this session.
repeated .google.cloud.dialogflow.cx.v3.Action actions = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Action.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setCompleteTime(Timestamp value)
public TraceBlock.Builder setCompleteTime(Timestamp value)Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setCompleteTime(Timestamp.Builder builderForValue)
public TraceBlock.Builder setCompleteTime(Timestamp.Builder builderForValue)Output only. Timestamp of the end of the trace block.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setEndState(OutputState value)
public TraceBlock.Builder setEndState(OutputState value)Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputStateThe endState to set. |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
This builder for chaining. |
setEndStateValue(int value)
public TraceBlock.Builder setEndStateValue(int value)Optional. Output only. The end state of the trace block.
.google.cloud.dialogflow.cx.v3.OutputState end_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for endState to set. |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
This builder for chaining. |
setFlowTraceMetadata(FlowTraceMetadata value)
public TraceBlock.Builder setFlowTraceMetadata(FlowTraceMetadata value)Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FlowTraceMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setFlowTraceMetadata(FlowTraceMetadata.Builder builderForValue)
public TraceBlock.Builder setFlowTraceMetadata(FlowTraceMetadata.Builder builderForValue)Metadata of the flow trace.
.google.cloud.dialogflow.cx.v3.FlowTraceMetadata flow_trace_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FlowTraceMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setInputParameters(Struct value)
public TraceBlock.Builder setInputParameters(Struct value)Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setInputParameters(Struct.Builder builderForValue)
public TraceBlock.Builder setInputParameters(Struct.Builder builderForValue)Optional. A list of input parameters of the trace block.
.google.protobuf.Struct input_parameters = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setOutputParameters(Struct value)
public TraceBlock.Builder setOutputParameters(Struct value)Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setOutputParameters(Struct.Builder builderForValue)
public TraceBlock.Builder setOutputParameters(Struct.Builder builderForValue)Optional. A list of output parameters of the trace block.
.google.protobuf.Struct output_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setPlaybookTraceMetadata(PlaybookTraceMetadata value)
public TraceBlock.Builder setPlaybookTraceMetadata(PlaybookTraceMetadata value)Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PlaybookTraceMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setPlaybookTraceMetadata(PlaybookTraceMetadata.Builder builderForValue)
public TraceBlock.Builder setPlaybookTraceMetadata(PlaybookTraceMetadata.Builder builderForValue)Metadata of the playbook trace.
.google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata playbook_trace_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PlaybookTraceMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setSpeechProcessingMetadata(SpeechProcessingMetadata value)
public TraceBlock.Builder setSpeechProcessingMetadata(SpeechProcessingMetadata value)Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
SpeechProcessingMetadata |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setSpeechProcessingMetadata(SpeechProcessingMetadata.Builder builderForValue)
public TraceBlock.Builder setSpeechProcessingMetadata(SpeechProcessingMetadata.Builder builderForValue)Metadata of the speech-to-text and speech-to-text processing.
.google.cloud.dialogflow.cx.v3.SpeechProcessingMetadata speech_processing_metadata = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SpeechProcessingMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setStartTime(Timestamp value)
public TraceBlock.Builder setStartTime(Timestamp value)Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public TraceBlock.Builder setStartTime(Timestamp.Builder builderForValue)Output only. Timestamp of the start of the trace block.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TraceBlock.Builder |
|