Class MxaccessGateway.AcknowledgeAlarmReply

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
mxaccess_gateway.v1.MxaccessGateway.AcknowledgeAlarmReply
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
Enclosing class:
MxaccessGateway

public static final class MxaccessGateway.AcknowledgeAlarmReply extends com.google.protobuf.GeneratedMessage implements MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
Protobuf type mxaccess_gateway.v1.AcknowledgeAlarmReply
See Also:
  • Field Details

    • CORRELATION_ID_FIELD_NUMBER

      public static final int CORRELATION_ID_FIELD_NUMBER
      See Also:
    • PROTOCOL_STATUS_FIELD_NUMBER

      public static final int PROTOCOL_STATUS_FIELD_NUMBER
      See Also:
    • HRESULT_FIELD_NUMBER

      public static final int HRESULT_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • DIAGNOSTIC_MESSAGE_FIELD_NUMBER

      public static final int DIAGNOSTIC_MESSAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getCorrelationId

      public String getCorrelationId()
      string correlation_id = 2;
      Specified by:
      getCorrelationId in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The correlationId.
    • getCorrelationIdBytes

      public com.google.protobuf.ByteString getCorrelationIdBytes()
      string correlation_id = 2;
      Specified by:
      getCorrelationIdBytes in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The bytes for correlationId.
    • hasProtocolStatus

      public boolean hasProtocolStatus()
      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
      Specified by:
      hasProtocolStatus in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      Whether the protocolStatus field is set.
    • getProtocolStatus

      public MxaccessGateway.ProtocolStatus getProtocolStatus()
      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
      Specified by:
      getProtocolStatus in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The protocolStatus.
    • getProtocolStatusOrBuilder

      public MxaccessGateway.ProtocolStatusOrBuilder getProtocolStatusOrBuilder()
      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
      Specified by:
      getProtocolStatusOrBuilder in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
    • hasHresult

      public boolean hasHresult()
       Native ack return code echoed from the worker. The worker carries the
       ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
       = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
       WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
       ack-outcome field for the public RPC. Absent only when the worker reply
       omitted the value entirely (a protocol violation).
       
      optional int32 hresult = 4;
      Specified by:
      hasHresult in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      Whether the hresult field is set.
    • getHresult

      public int getHresult()
       Native ack return code echoed from the worker. The worker carries the
       ack outcome as a single int32 (AcknowledgeAlarmReplyPayload.native_status,
       = AlarmAckByName / AlarmAckByGUID return code; 0 = success); the gateway's
       WorkerAlarmRpcDispatcher copies that value here. This is the authoritative
       ack-outcome field for the public RPC. Absent only when the worker reply
       omitted the value entirely (a protocol violation).
       
      optional int32 hresult = 4;
      Specified by:
      getHresult in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The hresult.
    • hasStatus

      public boolean hasStatus()
       Reserved for a structured MxStatusProxy view of the ack outcome. The
       worker by-name/by-GUID ack path produces only the int32 return code
       (see `hresult`), so the current gateway leaves this field UNSET on every
       reply. Clients must read `hresult` (and `protocol_status`) for the ack
       result and must not depend on `status` being populated.
       
      .mxaccess_gateway.v1.MxStatusProxy status = 5;
      Specified by:
      hasStatus in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public MxaccessGateway.MxStatusProxy getStatus()
       Reserved for a structured MxStatusProxy view of the ack outcome. The
       worker by-name/by-GUID ack path produces only the int32 return code
       (see `hresult`), so the current gateway leaves this field UNSET on every
       reply. Clients must read `hresult` (and `protocol_status`) for the ack
       result and must not depend on `status` being populated.
       
      .mxaccess_gateway.v1.MxStatusProxy status = 5;
      Specified by:
      getStatus in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public MxaccessGateway.MxStatusProxyOrBuilder getStatusOrBuilder()
       Reserved for a structured MxStatusProxy view of the ack outcome. The
       worker by-name/by-GUID ack path produces only the int32 return code
       (see `hresult`), so the current gateway leaves this field UNSET on every
       reply. Clients must read `hresult` (and `protocol_status`) for the ack
       result and must not depend on `status` being populated.
       
      .mxaccess_gateway.v1.MxStatusProxy status = 5;
      Specified by:
      getStatusOrBuilder in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
    • getDiagnosticMessage

      public String getDiagnosticMessage()
      string diagnostic_message = 6;
      Specified by:
      getDiagnosticMessage in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The diagnosticMessage.
    • getDiagnosticMessageBytes

      public com.google.protobuf.ByteString getDiagnosticMessageBytes()
      string diagnostic_message = 6;
      Specified by:
      getDiagnosticMessageBytes in interface MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
      Returns:
      The bytes for diagnosticMessage.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MxaccessGateway.AcknowledgeAlarmReply parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MxaccessGateway.AcknowledgeAlarmReply.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MxaccessGateway.AcknowledgeAlarmReply getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MxaccessGateway.AcknowledgeAlarmReply> parser()
    • getParserForType

      public com.google.protobuf.Parser<MxaccessGateway.AcknowledgeAlarmReply> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MxaccessGateway.AcknowledgeAlarmReply getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder