Class QueryRequest.Types.TuningOptions
Inheritance
QueryRequest.Types.TuningOptions
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class QueryRequest.Types.TuningOptions : IMessage<QueryRequest.Types.TuningOptions>, IEquatable<QueryRequest.Types.TuningOptions>, IDeepCloneable<QueryRequest.Types.TuningOptions>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
TuningOptions()
Declaration
|
Edit this page
View Source
TuningOptions(TuningOptions)
Declaration
public TuningOptions(QueryRequest.Types.TuningOptions other)
Parameters
Fields
|
Edit this page
View Source
DisableMetricsFieldNumber
Field number for the "disable_metrics" field.
Declaration
public const int DisableMetricsFieldNumber = 6
Field Value
|
Edit this page
View Source
MaxParallelismFieldNumber
Field number for the "max_parallelism" field.
Declaration
public const int MaxParallelismFieldNumber = 1
Field Value
|
Edit this page
View Source
PipelineBatchFieldNumber
Field number for the "pipeline_batch" field.
Declaration
public const int PipelineBatchFieldNumber = 2
Field Value
|
Edit this page
View Source
PipelineCapFieldNumber
Field number for the "pipeline_cap" field.
Declaration
public const int PipelineCapFieldNumber = 3
Field Value
|
Edit this page
View Source
ScanCapFieldNumber
Field number for the "scan_cap" field.
Declaration
public const int ScanCapFieldNumber = 5
Field Value
|
Edit this page
View Source
ScanWaitFieldNumber
Field number for the "scan_wait" field.
Declaration
public const int ScanWaitFieldNumber = 4
Field Value
Properties
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
DisableMetrics
Declaration
public bool DisableMetrics { get; set; }
Property Value
|
Edit this page
View Source
HasDisableMetrics
Gets whether the "disable_metrics" field is set
Declaration
public bool HasDisableMetrics { get; }
Property Value
|
Edit this page
View Source
HasMaxParallelism
Gets whether the "max_parallelism" field is set
Declaration
public bool HasMaxParallelism { get; }
Property Value
|
Edit this page
View Source
HasPipelineBatch
Gets whether the "pipeline_batch" field is set
Declaration
public bool HasPipelineBatch { get; }
Property Value
|
Edit this page
View Source
HasPipelineCap
Gets whether the "pipeline_cap" field is set
Declaration
public bool HasPipelineCap { get; }
Property Value
|
Edit this page
View Source
HasScanCap
Gets whether the "scan_cap" field is set
Declaration
public bool HasScanCap { get; }
Property Value
|
Edit this page
View Source
MaxParallelism
Declaration
public uint MaxParallelism { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<QueryRequest.Types.TuningOptions> Parser { get; }
Property Value
|
Edit this page
View Source
PipelineBatch
Declaration
public uint PipelineBatch { get; set; }
Property Value
|
Edit this page
View Source
PipelineCap
Declaration
public uint PipelineCap { get; set; }
Property Value
|
Edit this page
View Source
ScanCap
Declaration
public uint ScanCap { get; set; }
Property Value
|
Edit this page
View Source
ScanWait
Declaration
public Duration ScanWait { get; set; }
Property Value
Type |
Description |
Duration |
|
Methods
|
Edit this page
View Source
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
Type |
Description |
int |
The number of bytes required to write this message
to a coded output stream.
|
|
Edit this page
View Source
ClearDisableMetrics()
Clears the value of the "disable_metrics" field
Declaration
public void ClearDisableMetrics()
|
Edit this page
View Source
ClearMaxParallelism()
Clears the value of the "max_parallelism" field
Declaration
public void ClearMaxParallelism()
|
Edit this page
View Source
ClearPipelineBatch()
Clears the value of the "pipeline_batch" field
Declaration
public void ClearPipelineBatch()
|
Edit this page
View Source
ClearPipelineCap()
Clears the value of the "pipeline_cap" field
Declaration
public void ClearPipelineCap()
|
Edit this page
View Source
ClearScanCap()
Clears the value of the "scan_cap" field
Declaration
public void ClearScanCap()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public QueryRequest.Types.TuningOptions Clone()
Returns
|
Edit this page
View Source
Equals(TuningOptions)
Declaration
public bool Equals(QueryRequest.Types.TuningOptions other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MergeFrom(TuningOptions)
Merges the given message into this one.
Declaration
public void MergeFrom(QueryRequest.Types.TuningOptions other)
Parameters
|
Edit this page
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type |
Name |
Description |
CodedInputStream |
input |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type |
Name |
Description |
CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage