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
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 clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public KnowledgeOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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 static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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 setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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