public final class TurnMetadata extends GeneratedMessage implements TurnMetadataOrBuilder
Turn-level metadata and intent categorization.
Protobuf type google.cloud.ces.v1beta.TurnMetadata
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
public static final int CONTRACT_DRAFT_COMPLETE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CONTRACT_FINALIZED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CONTRACT_RELATED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CONTRACT_STREAMING_PHASE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static TurnMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static TurnMetadata.Builder newBuilder()
public static TurnMetadata.Builder newBuilder(TurnMetadata prototype)
public static TurnMetadata parseDelimitedFrom(InputStream input)
public static TurnMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TurnMetadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static TurnMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TurnMetadata parseFrom(ByteString data)
public static TurnMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TurnMetadata parseFrom(CodedInputStream input)
public static TurnMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TurnMetadata parseFrom(InputStream input)
public static TurnMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TurnMetadata parseFrom(ByteBuffer data)
public static TurnMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<TurnMetadata> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public 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.
|
public 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.
|
public 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.
|
public 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;
public 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.
|
public TurnMetadata getDefaultInstanceForType()
public Parser<TurnMetadata> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TurnMetadata.Builder newBuilderForType()
protected TurnMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public TurnMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides