Class AddSubscriptionResponse
public sealed class AddSubscriptionResponse : IMessage<AddSubscriptionResponse>, IEquatable<AddSubscriptionResponse>, IDeepCloneable<AddSubscriptionResponse>, IBufferMessage, IMessage
- Inheritance
-
Add
Subscription Response
- Implements
-
IMessage<Add
Subscription >Response IDeepCloneable <AddSubscription >Response IBufferMessage IMessage
- Inherited Members
- Extension Methods
Constructors
AddSubscriptionResponse()
AddSubscriptionResponse(AddSubscriptionResponse)
Parameters
other
AddSubscription Response
Fields
ErrorFieldNumber
Field number for the "error" field.
Field Value
RequestIdFieldNumber
Field number for the "request_id" field.
Field Value
SuccessFieldNumber
Field number for the "success" field.
Field Value
Properties
Descriptor
Property Value
- Message
Descriptor
Error
Property Value
HasError
Gets whether the "error" field is set
Property Value
Parser
Property Value
- Message
Parser <AddSubscription >Response
RequestId
Property Value
Success
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearError()
Clears the value of the "error" field
Clone()
Creates a deep clone of this object.
Returns
- Add
Subscription Response A deep clone of this object.
Equals(AddSubscriptionResponse)
Indicates whether the current object is equal to another object of the same type.
Parameters
other
AddSubscription Response An object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
Parameters
other
object
Returns
GetHashCode()
Serves as the default hash function.
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
Parameters
input
CodedInput Stream
Remarks
See the user guide for precise merge semantics.
MergeFrom(AddSubscriptionResponse)
Merges the given message into this one.
Parameters
other
AddSubscription Response
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Parameters
output
CodedOutput Stream Coded output stream to write the data to. Must not be null.