public static final class KnowledgeOperationMetadata.Builder extends GeneratedMessageV3.Builder<KnowledgeOperationMetadata.Builder> implements KnowledgeOperationMetadataOrBuilder
Metadata in google::longrunning::Operation for Knowledge operations.
Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public KnowledgeOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public KnowledgeOperationMetadata build()
Returns
public KnowledgeOperationMetadata buildPartial()
Returns
public KnowledgeOperationMetadata.Builder clear()
Returns
Overrides
public KnowledgeOperationMetadata.Builder clearExportOperationMetadata()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2beta1.ExportOperationMetadata export_operation_metadata = 4;
Returns
public KnowledgeOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public KnowledgeOperationMetadata.Builder clearKnowledgeBase()
The name of the knowledge base interacted with during the operation.
string knowledge_base = 3;
Returns
public KnowledgeOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public KnowledgeOperationMetadata.Builder clearOperationMetadata()
Returns
public KnowledgeOperationMetadata.Builder clearState()
Required. Output only. The current state of this operation.
.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public KnowledgeOperationMetadata.Builder clone()
Returns
Overrides
public KnowledgeOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
public ExportOperationMetadata.Builder getExportOperationMetadataBuilder()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2beta1.ExportOperationMetadata export_operation_metadata = 4;
Returns
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
public String getKnowledgeBase()
The name of the knowledge base interacted with during the operation.
string knowledge_base = 3;
Returns
Type |
Description |
String |
The knowledgeBase.
|
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.
|
public KnowledgeOperationMetadata.OperationMetadataCase getOperationMetadataCase()
Returns
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
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public KnowledgeOperationMetadata.Builder mergeExportOperationMetadata(ExportOperationMetadata value)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2beta1.ExportOperationMetadata export_operation_metadata = 4;
Parameter
Returns
public KnowledgeOperationMetadata.Builder mergeFrom(KnowledgeOperationMetadata other)
Parameter
Returns
public KnowledgeOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public KnowledgeOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final KnowledgeOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public KnowledgeOperationMetadata.Builder setExportOperationMetadata(ExportOperationMetadata value)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2beta1.ExportOperationMetadata export_operation_metadata = 4;
Parameter
Returns
public KnowledgeOperationMetadata.Builder setExportOperationMetadata(ExportOperationMetadata.Builder builderForValue)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2beta1.ExportOperationMetadata export_operation_metadata = 4;
Parameter
Returns
public KnowledgeOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public KnowledgeOperationMetadata.Builder setKnowledgeBase(String value)
The name of the knowledge base interacted with during the operation.
string knowledge_base = 3;
Parameter
Name |
Description |
value |
String
The knowledgeBase to set.
|
Returns
public KnowledgeOperationMetadata.Builder setKnowledgeBaseBytes(ByteString value)
The name of the knowledge base interacted with during the operation.
string knowledge_base = 3;
Parameter
Name |
Description |
value |
ByteString
The bytes for knowledgeBase to set.
|
Returns
public KnowledgeOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public KnowledgeOperationMetadata.Builder setState(KnowledgeOperationMetadata.State value)
Required. Output only. The current state of this operation.
.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public KnowledgeOperationMetadata.Builder setStateValue(int value)
Required. Output only. The current state of this operation.
.google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name |
Description |
value |
int
The enum numeric value on the wire for state to set.
|
Returns
public final KnowledgeOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides