Class KnowledgeOperationMetadata (4.7.5)

public final class KnowledgeOperationMetadata extends GeneratedMessageV3 implements KnowledgeOperationMetadataOrBuilder

Metadata in google::longrunning::Operation for Knowledge operations.

Protobuf type google.cloud.dialogflow.v2.KnowledgeOperationMetadata

Static Fields

EXPORT_OPERATION_METADATA_FIELD_NUMBER

public static final int EXPORT_OPERATION_METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

KNOWLEDGE_BASE_FIELD_NUMBER

public static final int KNOWLEDGE_BASE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KnowledgeOperationMetadata getDefaultInstance()
Returns
TypeDescription
KnowledgeOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static KnowledgeOperationMetadata.Builder newBuilder()
Returns
TypeDescription
KnowledgeOperationMetadata.Builder

newBuilder(KnowledgeOperationMetadata prototype)

public static KnowledgeOperationMetadata.Builder newBuilder(KnowledgeOperationMetadata prototype)
Parameter
NameDescription
prototypeKnowledgeOperationMetadata
Returns
TypeDescription
KnowledgeOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static KnowledgeOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static KnowledgeOperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KnowledgeOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KnowledgeOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static KnowledgeOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static KnowledgeOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KnowledgeOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KnowledgeOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<KnowledgeOperationMetadata> parser()
Returns
TypeDescription
Parser<KnowledgeOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public KnowledgeOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
KnowledgeOperationMetadata

getExportOperationMetadata()

public ExportOperationMetadata getExportOperationMetadata()

Metadata for the Export Data Operation such as the destination of export.

.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;

Returns
TypeDescription
ExportOperationMetadata

The exportOperationMetadata.

getExportOperationMetadataOrBuilder()

public ExportOperationMetadataOrBuilder getExportOperationMetadataOrBuilder()

Metadata for the Export Data Operation such as the destination of export.

.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;

Returns
TypeDescription
ExportOperationMetadataOrBuilder

getKnowledgeBase()

public String getKnowledgeBase()

The name of the knowledge base interacted with during the operation.

string knowledge_base = 3;

Returns
TypeDescription
String

The knowledgeBase.

getKnowledgeBaseBytes()

public ByteString getKnowledgeBaseBytes()

The name of the knowledge base interacted with during the operation.

string knowledge_base = 3;

Returns
TypeDescription
ByteString

The bytes for knowledgeBase.

getOperationMetadataCase()

public KnowledgeOperationMetadata.OperationMetadataCase getOperationMetadataCase()
Returns
TypeDescription
KnowledgeOperationMetadata.OperationMetadataCase

getParserForType()

public Parser<KnowledgeOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<KnowledgeOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public KnowledgeOperationMetadata.State getState()

Output only. The current state of this operation.

.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
KnowledgeOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of this operation.

.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExportOperationMetadata()

public boolean hasExportOperationMetadata()

Metadata for the Export Data Operation such as the destination of export.

.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;

Returns
TypeDescription
boolean

Whether the exportOperationMetadata field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public KnowledgeOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
KnowledgeOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KnowledgeOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
KnowledgeOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public KnowledgeOperationMetadata.Builder toBuilder()
Returns
TypeDescription
KnowledgeOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException