Class KnowledgeOperationMetadata (4.57.0)

public final class KnowledgeOperationMetadata extends GeneratedMessageV3 implements KnowledgeOperationMetadataOrBuilder

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

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata

Static Fields

EXPORT_OPERATION_METADATA_FIELD_NUMBER

public static final int EXPORT_OPERATION_METADATA_FIELD_NUMBER
Field Value
Type Description
int

KNOWLEDGE_BASE_FIELD_NUMBER

public static final int KNOWLEDGE_BASE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KnowledgeOperationMetadata getDefaultInstance()
Returns
Type Description
KnowledgeOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(KnowledgeOperationMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public KnowledgeOperationMetadata getDefaultInstanceForType()
Returns
Type Description
KnowledgeOperationMetadata

getExportOperationMetadata()

public ExportOperationMetadata getExportOperationMetadata()

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

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

Returns
Type Description
ExportOperationMetadata

The exportOperationMetadata.

getExportOperationMetadataOrBuilder()

public ExportOperationMetadataOrBuilder getExportOperationMetadataOrBuilder()

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

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

Returns
Type Description
ExportOperationMetadataOrBuilder

getKnowledgeBase()

public String getKnowledgeBase()

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

string knowledge_base = 3;

Returns
Type Description
String

The knowledgeBase.

getKnowledgeBaseBytes()

public ByteString getKnowledgeBaseBytes()

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

string knowledge_base = 3;

Returns
Type Description
ByteString

The bytes for knowledgeBase.

getOperationMetadataCase()

public KnowledgeOperationMetadata.OperationMetadataCase getOperationMetadataCase()
Returns
Type Description
KnowledgeOperationMetadata.OperationMetadataCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public KnowledgeOperationMetadata.State getState()

Required. Output only. The current state of this operation.

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

Returns
Type Description
KnowledgeOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

Required. Output only. The current state of this operation.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

hasExportOperationMetadata()

public boolean hasExportOperationMetadata()

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

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

Returns
Type Description
boolean

Whether the exportOperationMetadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KnowledgeOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KnowledgeOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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