Package mxaccess_worker.v1
Class MxaccessWorker.WorkerHeartbeat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MxaccessWorker.WorkerHeartbeat.Builder>
mxaccess_worker.v1.MxaccessWorker.WorkerHeartbeat.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,MxaccessWorker.WorkerHeartbeatOrBuilder
- Enclosing class:
- MxaccessWorker.WorkerHeartbeat
public static final class MxaccessWorker.WorkerHeartbeat.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MxaccessWorker.WorkerHeartbeat.Builder>
implements MxaccessWorker.WorkerHeartbeatOrBuilder
Protobuf type
mxaccess_worker.v1.WorkerHeartbeat-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string current_command_correlation_id = 7;uint64 last_event_sequence = 6;.google.protobuf.Timestamp last_sta_activity_timestamp = 3;uint32 outbound_event_queue_depth = 5;uint32 pending_command_count = 4;.mxaccess_worker.v1.WorkerState state = 2;int32 worker_process_id = 1;string current_command_correlation_id = 7;com.google.protobuf.ByteStringstring current_command_correlation_id = 7;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlonguint64 last_event_sequence = 6;com.google.protobuf.Timestamp.google.protobuf.Timestamp last_sta_activity_timestamp = 3;com.google.protobuf.Timestamp.Builder.google.protobuf.Timestamp last_sta_activity_timestamp = 3;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp last_sta_activity_timestamp = 3;intuint32 outbound_event_queue_depth = 5;intuint32 pending_command_count = 4;getState().mxaccess_worker.v1.WorkerState state = 2;int.mxaccess_worker.v1.WorkerState state = 2;intint32 worker_process_id = 1;boolean.google.protobuf.Timestamp last_sta_activity_timestamp = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastStaActivityTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_sta_activity_timestamp = 3;string current_command_correlation_id = 7;setCurrentCommandCorrelationIdBytes(com.google.protobuf.ByteString value) string current_command_correlation_id = 7;setLastEventSequence(long value) uint64 last_event_sequence = 6;setLastStaActivityTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_sta_activity_timestamp = 3;setLastStaActivityTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp last_sta_activity_timestamp = 3;setOutboundEventQueueDepth(int value) uint32 outbound_event_queue_depth = 5;setPendingCommandCount(int value) uint32 pending_command_count = 4;.mxaccess_worker.v1.WorkerState state = 2;setStateValue(int value) .mxaccess_worker.v1.WorkerState state = 2;setWorkerProcessId(int value) int32 worker_process_id = 1;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<MxaccessWorker.WorkerHeartbeat.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<MxaccessWorker.WorkerHeartbeat.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<MxaccessWorker.WorkerHeartbeat.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<MxaccessWorker.WorkerHeartbeat.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MxaccessWorker.WorkerHeartbeat.Builder>
-
mergeFrom
public MxaccessWorker.WorkerHeartbeat.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<MxaccessWorker.WorkerHeartbeat.Builder>- Throws:
IOException
-
getWorkerProcessId
public int getWorkerProcessId()int32 worker_process_id = 1;- Specified by:
getWorkerProcessIdin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The workerProcessId.
-
setWorkerProcessId
int32 worker_process_id = 1;- Parameters:
value- The workerProcessId to set.- Returns:
- This builder for chaining.
-
clearWorkerProcessId
int32 worker_process_id = 1;- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue().mxaccess_worker.v1.WorkerState state = 2;- Specified by:
getStateValuein interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
.mxaccess_worker.v1.WorkerState state = 2;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
.mxaccess_worker.v1.WorkerState state = 2;- Specified by:
getStatein interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The state.
-
setState
.mxaccess_worker.v1.WorkerState state = 2;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
.mxaccess_worker.v1.WorkerState state = 2;- Returns:
- This builder for chaining.
-
hasLastStaActivityTimestamp
public boolean hasLastStaActivityTimestamp().google.protobuf.Timestamp last_sta_activity_timestamp = 3;- Specified by:
hasLastStaActivityTimestampin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- Whether the lastStaActivityTimestamp field is set.
-
getLastStaActivityTimestamp
public com.google.protobuf.Timestamp getLastStaActivityTimestamp().google.protobuf.Timestamp last_sta_activity_timestamp = 3;- Specified by:
getLastStaActivityTimestampin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The lastStaActivityTimestamp.
-
setLastStaActivityTimestamp
public MxaccessWorker.WorkerHeartbeat.Builder setLastStaActivityTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_sta_activity_timestamp = 3; -
setLastStaActivityTimestamp
public MxaccessWorker.WorkerHeartbeat.Builder setLastStaActivityTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp last_sta_activity_timestamp = 3; -
mergeLastStaActivityTimestamp
public MxaccessWorker.WorkerHeartbeat.Builder mergeLastStaActivityTimestamp(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_sta_activity_timestamp = 3; -
clearLastStaActivityTimestamp
.google.protobuf.Timestamp last_sta_activity_timestamp = 3; -
getLastStaActivityTimestampBuilder
public com.google.protobuf.Timestamp.Builder getLastStaActivityTimestampBuilder().google.protobuf.Timestamp last_sta_activity_timestamp = 3; -
getLastStaActivityTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStaActivityTimestampOrBuilder().google.protobuf.Timestamp last_sta_activity_timestamp = 3;- Specified by:
getLastStaActivityTimestampOrBuilderin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder
-
getPendingCommandCount
public int getPendingCommandCount()uint32 pending_command_count = 4;- Specified by:
getPendingCommandCountin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The pendingCommandCount.
-
setPendingCommandCount
uint32 pending_command_count = 4;- Parameters:
value- The pendingCommandCount to set.- Returns:
- This builder for chaining.
-
clearPendingCommandCount
uint32 pending_command_count = 4;- Returns:
- This builder for chaining.
-
getOutboundEventQueueDepth
public int getOutboundEventQueueDepth()uint32 outbound_event_queue_depth = 5;- Specified by:
getOutboundEventQueueDepthin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The outboundEventQueueDepth.
-
setOutboundEventQueueDepth
uint32 outbound_event_queue_depth = 5;- Parameters:
value- The outboundEventQueueDepth to set.- Returns:
- This builder for chaining.
-
clearOutboundEventQueueDepth
uint32 outbound_event_queue_depth = 5;- Returns:
- This builder for chaining.
-
getLastEventSequence
public long getLastEventSequence()uint64 last_event_sequence = 6;- Specified by:
getLastEventSequencein interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The lastEventSequence.
-
setLastEventSequence
uint64 last_event_sequence = 6;- Parameters:
value- The lastEventSequence to set.- Returns:
- This builder for chaining.
-
clearLastEventSequence
uint64 last_event_sequence = 6;- Returns:
- This builder for chaining.
-
getCurrentCommandCorrelationId
string current_command_correlation_id = 7;- Specified by:
getCurrentCommandCorrelationIdin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The currentCommandCorrelationId.
-
getCurrentCommandCorrelationIdBytes
public com.google.protobuf.ByteString getCurrentCommandCorrelationIdBytes()string current_command_correlation_id = 7;- Specified by:
getCurrentCommandCorrelationIdBytesin interfaceMxaccessWorker.WorkerHeartbeatOrBuilder- Returns:
- The bytes for currentCommandCorrelationId.
-
setCurrentCommandCorrelationId
string current_command_correlation_id = 7;- Parameters:
value- The currentCommandCorrelationId to set.- Returns:
- This builder for chaining.
-
clearCurrentCommandCorrelationId
string current_command_correlation_id = 7;- Returns:
- This builder for chaining.
-
setCurrentCommandCorrelationIdBytes
public MxaccessWorker.WorkerHeartbeat.Builder setCurrentCommandCorrelationIdBytes(com.google.protobuf.ByteString value) string current_command_correlation_id = 7;- Parameters:
value- The bytes for currentCommandCorrelationId to set.- Returns:
- This builder for chaining.
-