Class SearchKnowledgeDebugInfo (4.97.0)

public final class SearchKnowledgeDebugInfo extends GeneratedMessage implements SearchKnowledgeDebugInfoOrBuilder

Debug information related to SearchKnowledge feature.

Protobuf type google.cloud.dialogflow.v2beta1.SearchKnowledgeDebugInfo

Static Fields

DATASTORE_RESPONSE_REASON_FIELD_NUMBER

public static final int DATASTORE_RESPONSE_REASON_FIELD_NUMBER
Field Value
Type Description
int

INGESTED_CONTEXT_REFERENCE_DEBUG_INFO_FIELD_NUMBER

public static final int INGESTED_CONTEXT_REFERENCE_DEBUG_INFO_FIELD_NUMBER
Field Value
Type Description
int

SEARCH_KNOWLEDGE_BEHAVIOR_FIELD_NUMBER

public static final int SEARCH_KNOWLEDGE_BEHAVIOR_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_LATENCY_FIELD_NUMBER

public static final int SERVICE_LATENCY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchKnowledgeDebugInfo getDefaultInstance()
Returns
Type Description
SearchKnowledgeDebugInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchKnowledgeDebugInfo.Builder newBuilder()
Returns
Type Description
SearchKnowledgeDebugInfo.Builder

newBuilder(SearchKnowledgeDebugInfo prototype)

public static SearchKnowledgeDebugInfo.Builder newBuilder(SearchKnowledgeDebugInfo prototype)
Parameter
Name Description
prototype SearchKnowledgeDebugInfo
Returns
Type Description
SearchKnowledgeDebugInfo.Builder

parseDelimitedFrom(InputStream input)

public static SearchKnowledgeDebugInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchKnowledgeDebugInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchKnowledgeDebugInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchKnowledgeDebugInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchKnowledgeDebugInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchKnowledgeDebugInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchKnowledgeDebugInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchKnowledgeDebugInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchKnowledgeDebugInfo> parser()
Returns
Type Description
Parser<SearchKnowledgeDebugInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatastoreResponseReason()

public DatastoreResponseReason getDatastoreResponseReason()

Response reason from datastore which indicates data serving status or answer quality degradation.

.google.cloud.dialogflow.v2beta1.DatastoreResponseReason datastore_response_reason = 1;

Returns
Type Description
DatastoreResponseReason

The datastoreResponseReason.

getDatastoreResponseReasonValue()

public int getDatastoreResponseReasonValue()

Response reason from datastore which indicates data serving status or answer quality degradation.

.google.cloud.dialogflow.v2beta1.DatastoreResponseReason datastore_response_reason = 1;

Returns
Type Description
int

The enum numeric value on the wire for datastoreResponseReason.

getDefaultInstanceForType()

public SearchKnowledgeDebugInfo getDefaultInstanceForType()
Returns
Type Description
SearchKnowledgeDebugInfo

getIngestedContextReferenceDebugInfo()

public IngestedContextReferenceDebugInfo getIngestedContextReferenceDebugInfo()

Information about parameters ingested for search knowledge.

.google.cloud.dialogflow.v2beta1.IngestedContextReferenceDebugInfo ingested_context_reference_debug_info = 3;

Returns
Type Description
IngestedContextReferenceDebugInfo

The ingestedContextReferenceDebugInfo.

getIngestedContextReferenceDebugInfoOrBuilder()

public IngestedContextReferenceDebugInfoOrBuilder getIngestedContextReferenceDebugInfoOrBuilder()

Information about parameters ingested for search knowledge.

.google.cloud.dialogflow.v2beta1.IngestedContextReferenceDebugInfo ingested_context_reference_debug_info = 3;

Returns
Type Description
IngestedContextReferenceDebugInfoOrBuilder

getParserForType()

public Parser<SearchKnowledgeDebugInfo> getParserForType()
Returns
Type Description
Parser<SearchKnowledgeDebugInfo>
Overrides

getSearchKnowledgeBehavior()

public SearchKnowledgeDebugInfo.SearchKnowledgeBehavior getSearchKnowledgeBehavior()

Configured behaviors for SearchKnowledge.

.google.cloud.dialogflow.v2beta1.SearchKnowledgeDebugInfo.SearchKnowledgeBehavior search_knowledge_behavior = 2;

Returns
Type Description
SearchKnowledgeDebugInfo.SearchKnowledgeBehavior

The searchKnowledgeBehavior.

getSearchKnowledgeBehaviorOrBuilder()

public SearchKnowledgeDebugInfo.SearchKnowledgeBehaviorOrBuilder getSearchKnowledgeBehaviorOrBuilder()

Configured behaviors for SearchKnowledge.

.google.cloud.dialogflow.v2beta1.SearchKnowledgeDebugInfo.SearchKnowledgeBehavior search_knowledge_behavior = 2;

Returns
Type Description
SearchKnowledgeDebugInfo.SearchKnowledgeBehaviorOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceLatency()

public ServiceLatency getServiceLatency()

The latency of the service.

.google.cloud.dialogflow.v2beta1.ServiceLatency service_latency = 4;

Returns
Type Description
ServiceLatency

The serviceLatency.

getServiceLatencyOrBuilder()

public ServiceLatencyOrBuilder getServiceLatencyOrBuilder()

The latency of the service.

.google.cloud.dialogflow.v2beta1.ServiceLatency service_latency = 4;

Returns
Type Description
ServiceLatencyOrBuilder

hasIngestedContextReferenceDebugInfo()

public boolean hasIngestedContextReferenceDebugInfo()

Information about parameters ingested for search knowledge.

.google.cloud.dialogflow.v2beta1.IngestedContextReferenceDebugInfo ingested_context_reference_debug_info = 3;

Returns
Type Description
boolean

Whether the ingestedContextReferenceDebugInfo field is set.

hasSearchKnowledgeBehavior()

public boolean hasSearchKnowledgeBehavior()

Configured behaviors for SearchKnowledge.

.google.cloud.dialogflow.v2beta1.SearchKnowledgeDebugInfo.SearchKnowledgeBehavior search_knowledge_behavior = 2;

Returns
Type Description
boolean

Whether the searchKnowledgeBehavior field is set.

hasServiceLatency()

public boolean hasServiceLatency()

The latency of the service.

.google.cloud.dialogflow.v2beta1.ServiceLatency service_latency = 4;

Returns
Type Description
boolean

Whether the serviceLatency field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchKnowledgeDebugInfo.Builder newBuilderForType()
Returns
Type Description
SearchKnowledgeDebugInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SearchKnowledgeDebugInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchKnowledgeDebugInfo.Builder
Overrides

toBuilder()

public SearchKnowledgeDebugInfo.Builder toBuilder()
Returns
Type Description
SearchKnowledgeDebugInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException