Class MxaccessGateway.MxStatusProxy

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

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

    • SUCCESS_FIELD_NUMBER

      public static final int SUCCESS_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • DETECTED_BY_FIELD_NUMBER

      public static final int DETECTED_BY_FIELD_NUMBER
      See Also:
    • DETAIL_FIELD_NUMBER

      public static final int DETAIL_FIELD_NUMBER
      See Also:
    • RAW_CATEGORY_FIELD_NUMBER

      public static final int RAW_CATEGORY_FIELD_NUMBER
      See Also:
    • RAW_DETECTED_BY_FIELD_NUMBER

      public static final int RAW_DETECTED_BY_FIELD_NUMBER
      See Also:
    • DIAGNOSTIC_TEXT_FIELD_NUMBER

      public static final int DIAGNOSTIC_TEXT_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
    • getSuccess

      public int getSuccess()
       Mirrors the `success` member of the MXAccess MXSTATUS_PROXY struct
       (a 16-bit signed value in the COM struct, widened to int32 on the
       wire). Despite the name it is NOT a boolean — it is the raw numeric
       indicator the worker reads off the COM struct without reinterpretation.
       It is carried verbatim for diagnostics; the authoritative success/
       failure of the operation is `category` (MX_STATUS_CATEGORY_OK marks
       success), with `detail`, `diagnostic_text`, `raw_category`, and
       `raw_detected_by` describing any non-OK outcome. Clients should branch
       on `category`, not on a specific `success` value.
       
      int32 success = 1;
      Specified by:
      getSuccess in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The success.
    • getCategoryValue

      public int getCategoryValue()
      .mxaccess_gateway.v1.MxStatusCategory category = 2;
      Specified by:
      getCategoryValue in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The enum numeric value on the wire for category.
    • getCategory

      public MxaccessGateway.MxStatusCategory getCategory()
      .mxaccess_gateway.v1.MxStatusCategory category = 2;
      Specified by:
      getCategory in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The category.
    • getDetectedByValue

      public int getDetectedByValue()
      .mxaccess_gateway.v1.MxStatusSource detected_by = 3;
      Specified by:
      getDetectedByValue in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The enum numeric value on the wire for detectedBy.
    • getDetectedBy

      public MxaccessGateway.MxStatusSource getDetectedBy()
      .mxaccess_gateway.v1.MxStatusSource detected_by = 3;
      Specified by:
      getDetectedBy in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The detectedBy.
    • getDetail

      public int getDetail()
      int32 detail = 4;
      Specified by:
      getDetail in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The detail.
    • getRawCategory

      public int getRawCategory()
      int32 raw_category = 5;
      Specified by:
      getRawCategory in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The rawCategory.
    • getRawDetectedBy

      public int getRawDetectedBy()
      int32 raw_detected_by = 6;
      Specified by:
      getRawDetectedBy in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The rawDetectedBy.
    • getDiagnosticText

      public String getDiagnosticText()
      string diagnostic_text = 7;
      Specified by:
      getDiagnosticText in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The diagnosticText.
    • getDiagnosticTextBytes

      public com.google.protobuf.ByteString getDiagnosticTextBytes()
      string diagnostic_text = 7;
      Specified by:
      getDiagnosticTextBytes in interface MxaccessGateway.MxStatusProxyOrBuilder
      Returns:
      The bytes for diagnosticText.
    • 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.MxStatusProxy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static MxaccessGateway.MxStatusProxy 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.MxStatusProxy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public MxaccessGateway.MxStatusProxy.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MxaccessGateway.MxStatusProxy.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static MxaccessGateway.MxStatusProxy getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MxaccessGateway.MxStatusProxy> 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.MxStatusProxy getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder