Class FavouriteDeltaBroadcast
Inheritance
System.Object
    FavouriteDeltaBroadcast
  Implements
Google.Protobuf.IMessage<FavouriteDeltaBroadcast>
    Google.Protobuf.IMessage
    System.IEquatable<FavouriteDeltaBroadcast>
    Google.Protobuf.IDeepCloneable<FavouriteDeltaBroadcast>
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Catalyst.Protocol.Wire
Assembly: Catalyst.Protocol.dll
Syntax
public sealed class FavouriteDeltaBroadcast : IMessage<FavouriteDeltaBroadcast>, IMessage, IEquatable<FavouriteDeltaBroadcast>, IDeepCloneable<FavouriteDeltaBroadcast>Constructors
| Improve this Doc View SourceFavouriteDeltaBroadcast()
Declaration
public FavouriteDeltaBroadcast()FavouriteDeltaBroadcast(FavouriteDeltaBroadcast)
Declaration
public FavouriteDeltaBroadcast(FavouriteDeltaBroadcast other)Parameters
| Type | Name | Description | 
|---|---|---|
| FavouriteDeltaBroadcast | other | 
Fields
| Improve this Doc View SourceCandidateFieldNumber
Field number for the "candidate" field.
Declaration
public const int CandidateFieldNumber = 1Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
VoterIdFieldNumber
Field number for the "voter_id" field.
Declaration
public const int VoterIdFieldNumber = 2Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
| Improve this Doc View SourceCandidate
The candidate favoured by the voter broadcasting this message.
Declaration
public CandidateDeltaBroadcast Candidate { get; set; }Property Value
| Type | Description | 
|---|---|
| CandidateDeltaBroadcast | 
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }Property Value
| Type | Description | 
|---|---|
| Google.Protobuf.Reflection.MessageDescriptor | 
Parser
Declaration
public static MessageParser<FavouriteDeltaBroadcast> Parser { get; }Property Value
| Type | Description | 
|---|---|
| Google.Protobuf.MessageParser<FavouriteDeltaBroadcast> | 
VoterId
The PeerId of the participant submitting its vote to the network.
Declaration
public PeerId VoterId { get; set; }Property Value
| Type | Description | 
|---|---|
| PeerId | 
Methods
| Improve this Doc View SourceCalculateSize()
Declaration
public int CalculateSize()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Clone()
Declaration
public FavouriteDeltaBroadcast Clone()Returns
| Type | Description | 
|---|---|
| FavouriteDeltaBroadcast | 
Equals(FavouriteDeltaBroadcast)
Declaration
public bool Equals(FavouriteDeltaBroadcast other)Parameters
| Type | Name | Description | 
|---|---|---|
| FavouriteDeltaBroadcast | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Equals(Object)
Declaration
public override bool Equals(object other)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | other | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Object.Equals(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IsValid()
Declaration
public bool IsValid()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
MergeFrom(FavouriteDeltaBroadcast)
Declaration
public void MergeFrom(FavouriteDeltaBroadcast other)Parameters
| Type | Name | Description | 
|---|---|---|
| FavouriteDeltaBroadcast | other | 
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)Parameters
| Type | Name | Description | 
|---|---|---|
| Google.Protobuf.CodedInputStream | input | 
ToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)Parameters
| Type | Name | Description | 
|---|---|---|
| Google.Protobuf.CodedOutputStream | output | 
Explicit Interface Implementations
| Improve this Doc View SourceIMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }Returns
| Type | Description | 
|---|---|
| Google.Protobuf.Reflection.MessageDescriptor | 
Implements
      Google.Protobuf.IMessage<T>
  
  
      Google.Protobuf.IMessage
  
  
      System.IEquatable<T>
  
  
      Google.Protobuf.IDeepCloneable<T>