Package mxaccess_gateway.v1
Class MxaccessGateway.AcknowledgeAlarmReply.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()string correlation_id = 2;string diagnostic_message = 6;Native ack return code echoed from the worker..mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;Reserved for a structured MxStatusProxy view of the ack outcome.string correlation_id = 2;com.google.protobuf.ByteStringstring correlation_id = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring diagnostic_message = 6;com.google.protobuf.ByteStringstring diagnostic_message = 6;intNative ack return code echoed from the worker..mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;Reserved for a structured MxStatusProxy view of the ack outcome.Reserved for a structured MxStatusProxy view of the ack outcome.Reserved for a structured MxStatusProxy view of the ack outcome.booleanNative ack return code echoed from the worker.boolean.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;booleanReserved for a structured MxStatusProxy view of the ack outcome.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;Reserved for a structured MxStatusProxy view of the ack outcome.setCorrelationId(String value) string correlation_id = 2;setCorrelationIdBytes(com.google.protobuf.ByteString value) string correlation_id = 2;setDiagnosticMessage(String value) string diagnostic_message = 6;setDiagnosticMessageBytes(com.google.protobuf.ByteString value) string diagnostic_message = 6;setHresult(int value) Native ack return code echoed from the worker..mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;setProtocolStatus(MxaccessGateway.ProtocolStatus.Builder builderForValue) .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;Reserved for a structured MxStatusProxy view of the ack outcome.setStatus(MxaccessGateway.MxStatusProxy.Builder builderForValue) Reserved for a structured MxStatusProxy view of the ack outcome.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>
-
mergeFrom
public MxaccessGateway.AcknowledgeAlarmReply.Builder mergeFrom(MxaccessGateway.AcknowledgeAlarmReply other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MxaccessGateway.AcknowledgeAlarmReply.Builder>- Throws:
IOException
-
getCorrelationId
string correlation_id = 2;- Specified by:
getCorrelationIdin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The correlationId.
-
getCorrelationIdBytes
public com.google.protobuf.ByteString getCorrelationIdBytes()string correlation_id = 2;- Specified by:
getCorrelationIdBytesin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The bytes for correlationId.
-
setCorrelationId
string correlation_id = 2;- Parameters:
value- The correlationId to set.- Returns:
- This builder for chaining.
-
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:
hasProtocolStatusin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- Whether the protocolStatus field is set.
-
getProtocolStatus
.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;- Specified by:
getProtocolStatusin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The protocolStatus.
-
setProtocolStatus
public MxaccessGateway.AcknowledgeAlarmReply.Builder setProtocolStatus(MxaccessGateway.ProtocolStatus value) .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; -
setProtocolStatus
public MxaccessGateway.AcknowledgeAlarmReply.Builder setProtocolStatus(MxaccessGateway.ProtocolStatus.Builder builderForValue) .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; -
mergeProtocolStatus
public MxaccessGateway.AcknowledgeAlarmReply.Builder mergeProtocolStatus(MxaccessGateway.ProtocolStatus value) .mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; -
clearProtocolStatus
.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; -
getProtocolStatusBuilder
.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3; -
getProtocolStatusOrBuilder
.mxaccess_gateway.v1.ProtocolStatus protocol_status = 3;- Specified by:
getProtocolStatusOrBuilderin interfaceMxaccessGateway.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:
hasHresultin interfaceMxaccessGateway.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:
getHresultin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The hresult.
-
setHresult
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:
hasStatusin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- Whether the status field is set.
-
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:
getStatusin interfaceMxaccessGateway.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
public MxaccessGateway.AcknowledgeAlarmReply.Builder setStatus(MxaccessGateway.MxStatusProxy.Builder builderForValue) 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
public MxaccessGateway.AcknowledgeAlarmReply.Builder mergeStatus(MxaccessGateway.MxStatusProxy value) 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
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
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:
getStatusOrBuilderin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder
-
getDiagnosticMessage
string diagnostic_message = 6;- Specified by:
getDiagnosticMessagein interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The diagnosticMessage.
-
getDiagnosticMessageBytes
public com.google.protobuf.ByteString getDiagnosticMessageBytes()string diagnostic_message = 6;- Specified by:
getDiagnosticMessageBytesin interfaceMxaccessGateway.AcknowledgeAlarmReplyOrBuilder- Returns:
- The bytes for diagnosticMessage.
-
setDiagnosticMessage
string diagnostic_message = 6;- Parameters:
value- The diagnosticMessage to set.- Returns:
- This builder for chaining.
-
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.
-