Class MxaccessGateway.AcknowledgeAlarmReply.Builder

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

public static final class MxaccessGateway.AcknowledgeAlarmReply.Builder extends com.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder> implements MxaccessGateway.AcknowledgeAlarmReplyOrBuilder
Protobuf type mxaccess_gateway.v1.AcknowledgeAlarmReply
  • 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.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MxaccessGateway.AcknowledgeAlarmReply.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
    • mergeFrom

      public MxaccessGateway.AcknowledgeAlarmReply.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
      Throws:
      IOException
    • 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.
    • setCorrelationId

      public MxaccessGateway.AcknowledgeAlarmReply.Builder setCorrelationId(String value)
      string correlation_id = 2;
      Parameters:
      value - The correlationId to set.
      Returns:
      This builder for chaining.
    • clearCorrelationId

      public MxaccessGateway.AcknowledgeAlarmReply.Builder clearCorrelationId()
      string correlation_id = 2;
      Returns:
      This builder for chaining.
    • setCorrelationIdBytes

      public MxaccessGateway.AcknowledgeAlarmReply.Builder setCorrelationIdBytes(com.google.protobuf.ByteString value)
      string correlation_id = 2;
      Parameters:
      value - The bytes for correlationId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setProtocolStatus

      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
    • setProtocolStatus

      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
    • mergeProtocolStatus

      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
    • clearProtocolStatus

      public MxaccessGateway.AcknowledgeAlarmReply.Builder clearProtocolStatus()
      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
    • getProtocolStatusBuilder

      public MxaccessGateway.ProtocolStatus.Builder getProtocolStatusBuilder()
      .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;
    • 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.
    • setHresult

      public MxaccessGateway.AcknowledgeAlarmReply.Builder setHresult(int value)
       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;
      Parameters:
      value - The hresult to set.
      Returns:
      This builder for chaining.
    • clearHresult

       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;
      Returns:
      This builder for chaining.
    • 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.
    • setStatus

       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;
    • setStatus

       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;
    • mergeStatus

       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;
    • clearStatus

       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;
    • getStatusBuilder

      public MxaccessGateway.MxStatusProxy.Builder getStatusBuilder()
       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;
    • 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.
    • setDiagnosticMessage

      public MxaccessGateway.AcknowledgeAlarmReply.Builder setDiagnosticMessage(String value)
      string diagnostic_message = 6;
      Parameters:
      value - The diagnosticMessage to set.
      Returns:
      This builder for chaining.
    • clearDiagnosticMessage

      public MxaccessGateway.AcknowledgeAlarmReply.Builder clearDiagnosticMessage()
      string diagnostic_message = 6;
      Returns:
      This builder for chaining.
    • setDiagnosticMessageBytes

      public MxaccessGateway.AcknowledgeAlarmReply.Builder setDiagnosticMessageBytes(com.google.protobuf.ByteString value)
      string diagnostic_message = 6;
      Parameters:
      value - The bytes for diagnosticMessage to set.
      Returns:
      This builder for chaining.