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.v2.KnowledgeOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public KnowledgeOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public KnowledgeOperationMetadata build()
public KnowledgeOperationMetadata buildPartial()
public KnowledgeOperationMetadata.Builder clear()
Overrides
public KnowledgeOperationMetadata.Builder clearExportOperationMetadata()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public KnowledgeOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public KnowledgeOperationMetadata.Builder clearKnowledgeBase()
The name of the knowledge base interacted with during the operation.
string knowledge_base = 3;
public KnowledgeOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public KnowledgeOperationMetadata.Builder clearOperationMetadata()
public KnowledgeOperationMetadata.Builder clearState()
Output only. The current state of this operation.
.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public KnowledgeOperationMetadata.Builder clone()
Overrides
public KnowledgeOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExportOperationMetadata getExportOperationMetadata()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public ExportOperationMetadata.Builder getExportOperationMetadataBuilder()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public ExportOperationMetadataOrBuilder getExportOperationMetadataOrBuilder()
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
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()
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];
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 |
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.v2.ExportOperationMetadata export_operation_metadata = 4;
Returns |
Type |
Description |
boolean |
Whether the exportOperationMetadata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public KnowledgeOperationMetadata.Builder mergeExportOperationMetadata(ExportOperationMetadata value)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public KnowledgeOperationMetadata.Builder mergeFrom(KnowledgeOperationMetadata other)
public KnowledgeOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public KnowledgeOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final KnowledgeOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public KnowledgeOperationMetadata.Builder setExportOperationMetadata(ExportOperationMetadata value)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public KnowledgeOperationMetadata.Builder setExportOperationMetadata(ExportOperationMetadata.Builder builderForValue)
Metadata for the Export Data Operation such as the destination of export.
.google.cloud.dialogflow.v2.ExportOperationMetadata export_operation_metadata = 4;
public KnowledgeOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public KnowledgeOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public KnowledgeOperationMetadata.Builder setState(KnowledgeOperationMetadata.State value)
Output only. The current state of this operation.
.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public KnowledgeOperationMetadata.Builder setStateValue(int value)
Output only. The current state of this operation.
.google.cloud.dialogflow.v2.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.
|
public final KnowledgeOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides