Class TransactionBeginAttemptRequest
Implements
IMessage<TransactionBeginAttemptRequest>
IDeepCloneable<TransactionBeginAttemptRequest>
IBufferMessage
IMessage
Inherited Members
Namespace: Couchbase.Protostellar.Transactions.V1
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class TransactionBeginAttemptRequest : IMessage<TransactionBeginAttemptRequest>, IEquatable<TransactionBeginAttemptRequest>, IDeepCloneable<TransactionBeginAttemptRequest>, IBufferMessage, IMessage
Constructors
| Edit this page View SourceTransactionBeginAttemptRequest()
Declaration
public TransactionBeginAttemptRequest()
TransactionBeginAttemptRequest(TransactionBeginAttemptRequest)
Declaration
public TransactionBeginAttemptRequest(TransactionBeginAttemptRequest other)
Parameters
Type | Name | Description |
---|---|---|
TransactionBeginAttemptRequest | other |
Fields
| Edit this page View SourceBucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 1
Field Value
Type | Description |
---|---|
int |
TransactionIdFieldNumber
Field number for the "transaction_id" field.
Declaration
public const int TransactionIdFieldNumber = 2
Field Value
Type | Description |
---|---|
int |
Properties
| Edit this page View SourceBucketName
Declaration
public string BucketName { get; set; }
Property Value
Type | Description |
---|---|
string |
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
MessageDescriptor |
HasTransactionId
Gets whether the "transaction_id" field is set
Declaration
public bool HasTransactionId { get; }
Property Value
Type | Description |
---|---|
bool |
Parser
Declaration
public static MessageParser<TransactionBeginAttemptRequest> Parser { get; }
Property Value
Type | Description |
---|---|
MessageParser<TransactionBeginAttemptRequest> |
TransactionId
Declaration
public string TransactionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceCalculateSize()
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. |
ClearTransactionId()
Clears the value of the "transaction_id" field
Declaration
public void ClearTransactionId()
Clone()
Creates a deep clone of this object.
Declaration
public TransactionBeginAttemptRequest Clone()
Returns
Type | Description |
---|---|
TransactionBeginAttemptRequest | A deep clone of this object. |
Equals(TransactionBeginAttemptRequest)
Declaration
public bool Equals(TransactionBeginAttemptRequest other)
Parameters
Type | Name | Description |
---|---|---|
TransactionBeginAttemptRequest | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceMergeFrom(TransactionBeginAttemptRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(TransactionBeginAttemptRequest other)
Parameters
Type | Name | Description |
---|---|---|
TransactionBeginAttemptRequest | other |
Remarks
See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
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 |
Remarks
See the user guide for precise merge semantics.
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceWriteTo(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