Interface ProtocolPrivMessages.protocolPrivAckOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
ProtocolPrivMessages.protocolPrivAck, ProtocolPrivMessages.protocolPrivAck.Builder
Enclosing class:
ProtocolPrivMessages

public static interface ProtocolPrivMessages.protocolPrivAckOrBuilder extends MessageOrBuilder
  • Method Details

    • getAccepted

      boolean getAccepted()
      
       When true, the message was accepted and the action was completed. When false, the denial reason is specified.
       
      bool accepted = 1;
      Returns:
      The accepted.
    • getDenialReasonValue

      int getDenialReasonValue()
      
       The denial reason, if any
       
      .xg.protocol.messages.protocolPrivAck.denialReason denial_reason = 2;
      Returns:
      The enum numeric value on the wire for denialReason.
    • getDenialReason

      
       The denial reason, if any
       
      .xg.protocol.messages.protocolPrivAck.denialReason denial_reason = 2;
      Returns:
      The denialReason.
    • getSupportedVersion

      int getSupportedVersion()
      
       If denial reason is UNHANDLEABLE_VERSION or UNSUPPORTED_PROTOCOL_VERSION, this field indicates the version the receiver would accept
       
      uint32 supported_version = 3;
      Returns:
      The supportedVersion.