Interface TurnMetadataOrBuilder (0.19.0)

public interface TurnMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContractDraftComplete()

public abstract boolean getContractDraftComplete()

Set on the terminal event of a contract draft whose every placeholder is resolved (contract_progress is 100%), whether or not the draft was published. Clients complete and dismiss the contract progress display on it; publication is reported separately by contract_finalized.

bool contract_draft_complete = 5;

Returns
Type Description
boolean

The contractDraftComplete.

getContractFinalized()

public abstract boolean getContractFinalized()

Set on the final artifact event of a turn whose contract draft was published (a revision was activated). Terminal for the clarification flow of this draft: contract_progress is authoritative and complete.

bool contract_finalized = 3;

Returns
Type Description
boolean

The contractFinalized.

getContractRelated()

public abstract boolean getContractRelated()

Indicates whether this assistant turn was contract-related (e.g. contract drafting, alignment, extraction, or revision).

bool contract_related = 1;

Returns
Type Description
boolean

The contractRelated.

getContractStreamingPhase()

public abstract TurnMetadata.ContractStreamingPhase getContractStreamingPhase()

Set only on in-flight progress estimates emitted while a contract artifact fence is streaming, and on the revision-turn-start event. Unset on authoritative payloads.

.google.cloud.ces.v1beta.TurnMetadata.ContractStreamingPhase contract_streaming_phase = 4;

Returns
Type Description
TurnMetadata.ContractStreamingPhase

The contractStreamingPhase.

getContractStreamingPhaseValue()

public abstract int getContractStreamingPhaseValue()

Set only on in-flight progress estimates emitted while a contract artifact fence is streaming, and on the revision-turn-start event. Unset on authoritative payloads.

.google.cloud.ces.v1beta.TurnMetadata.ContractStreamingPhase contract_streaming_phase = 4;

Returns
Type Description
int

The enum numeric value on the wire for contractStreamingPhase.