Class MxaccessGateway.MxStatusProxy.Builder

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

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

      public MxaccessGateway.MxStatusProxy 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

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

      public MxaccessGateway.MxStatusProxy.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.MxStatusProxy.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.MxStatusProxy.Builder>
    • mergeFrom

      public MxaccessGateway.MxStatusProxy.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.MxStatusProxy.Builder>
      Throws:
      IOException
    • 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.
    • setSuccess

      public MxaccessGateway.MxStatusProxy.Builder setSuccess(int value)
       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;
      Parameters:
      value - The success to set.
      Returns:
      This builder for chaining.
    • clearSuccess

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

      public MxaccessGateway.MxStatusProxy.Builder setCategoryValue(int value)
      .mxaccess_gateway.v1.MxStatusCategory category = 2;
      Parameters:
      value - The enum numeric value on the wire for category to set.
      Returns:
      This builder for chaining.
    • getCategory

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

      .mxaccess_gateway.v1.MxStatusCategory category = 2;
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public MxaccessGateway.MxStatusProxy.Builder clearCategory()
      .mxaccess_gateway.v1.MxStatusCategory category = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setDetectedByValue

      public MxaccessGateway.MxStatusProxy.Builder setDetectedByValue(int value)
      .mxaccess_gateway.v1.MxStatusSource detected_by = 3;
      Parameters:
      value - The enum numeric value on the wire for detectedBy to set.
      Returns:
      This builder for chaining.
    • getDetectedBy

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

      .mxaccess_gateway.v1.MxStatusSource detected_by = 3;
      Parameters:
      value - The detectedBy to set.
      Returns:
      This builder for chaining.
    • clearDetectedBy

      public MxaccessGateway.MxStatusProxy.Builder clearDetectedBy()
      .mxaccess_gateway.v1.MxStatusSource detected_by = 3;
      Returns:
      This builder for chaining.
    • getDetail

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

      public MxaccessGateway.MxStatusProxy.Builder setDetail(int value)
      int32 detail = 4;
      Parameters:
      value - The detail to set.
      Returns:
      This builder for chaining.
    • clearDetail

      int32 detail = 4;
      Returns:
      This builder for chaining.
    • getRawCategory

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

      public MxaccessGateway.MxStatusProxy.Builder setRawCategory(int value)
      int32 raw_category = 5;
      Parameters:
      value - The rawCategory to set.
      Returns:
      This builder for chaining.
    • clearRawCategory

      public MxaccessGateway.MxStatusProxy.Builder clearRawCategory()
      int32 raw_category = 5;
      Returns:
      This builder for chaining.
    • getRawDetectedBy

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

      public MxaccessGateway.MxStatusProxy.Builder setRawDetectedBy(int value)
      int32 raw_detected_by = 6;
      Parameters:
      value - The rawDetectedBy to set.
      Returns:
      This builder for chaining.
    • clearRawDetectedBy

      public MxaccessGateway.MxStatusProxy.Builder clearRawDetectedBy()
      int32 raw_detected_by = 6;
      Returns:
      This builder for chaining.
    • 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.
    • setDiagnosticText

      public MxaccessGateway.MxStatusProxy.Builder setDiagnosticText(String value)
      string diagnostic_text = 7;
      Parameters:
      value - The diagnosticText to set.
      Returns:
      This builder for chaining.
    • clearDiagnosticText

      public MxaccessGateway.MxStatusProxy.Builder clearDiagnosticText()
      string diagnostic_text = 7;
      Returns:
      This builder for chaining.
    • setDiagnosticTextBytes

      public MxaccessGateway.MxStatusProxy.Builder setDiagnosticTextBytes(com.google.protobuf.ByteString value)
      string diagnostic_text = 7;
      Parameters:
      value - The bytes for diagnosticText to set.
      Returns:
      This builder for chaining.