Class GetWorkerBuildIdCompatabilityResponse.RetirementCandidate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder,java.io.Serializable
- Enclosing class:
- GetWorkerBuildIdCompatabilityResponse
public static final class GetWorkerBuildIdCompatabilityResponse.RetirementCandidate extends com.google.protobuf.GeneratedMessageV3 implements GetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
Protobuf typetemporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuilderProtobuf typetemporal.api.workflowservice.v1.GetWorkerBuildIdCompatabilityResponse.RetirementCandidate-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_WORKFLOWS_ARE_ARCHIVED_FIELD_NUMBERstatic intBUILD_ID_FIELD_NUMBERstatic intPOLLERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetAllWorkflowsAreArchived()If true, there are no open *or* closed workflows, meaning there is no reason at all to keep the worker alive, not even to service queries on closed workflows.java.lang.StringgetBuildId()The worker build id which is ready for retirementcom.google.protobuf.ByteStringgetBuildIdBytes()The worker build id which is ready for retirementstatic GetWorkerBuildIdCompatabilityResponse.RetirementCandidategetDefaultInstance()GetWorkerBuildIdCompatabilityResponse.RetirementCandidategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<GetWorkerBuildIdCompatabilityResponse.RetirementCandidate>getParserForType()PollerInfogetPollers(int index)Currently polling workers who match the build id ready for retirementintgetPollersCount()Currently polling workers who match the build id ready for retirementjava.util.List<PollerInfo>getPollersList()Currently polling workers who match the build id ready for retirementPollerInfoOrBuildergetPollersOrBuilder(int index)Currently polling workers who match the build id ready for retirementjava.util.List<? extends PollerInfoOrBuilder>getPollersOrBuilderList()Currently polling workers who match the build id ready for retirementintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuildernewBuilder()static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuildernewBuilder(GetWorkerBuildIdCompatabilityResponse.RetirementCandidate prototype)GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuildernewBuilderForType()protected GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseDelimitedFrom(java.io.InputStream input)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(byte[] data)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(com.google.protobuf.ByteString data)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(com.google.protobuf.CodedInputStream input)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(java.io.InputStream input)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(java.nio.ByteBuffer data)static GetWorkerBuildIdCompatabilityResponse.RetirementCandidateparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GetWorkerBuildIdCompatabilityResponse.RetirementCandidate>parser()GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BUILD_ID_FIELD_NUMBER
public static final int BUILD_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALL_WORKFLOWS_ARE_ARCHIVED_FIELD_NUMBER
public static final int ALL_WORKFLOWS_ARE_ARCHIVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLLERS_FIELD_NUMBER
public static final int POLLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getBuildId
public java.lang.String getBuildId()
The worker build id which is ready for retirement
string build_id = 1;- Specified by:
getBuildIdin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder- Returns:
- The buildId.
-
getBuildIdBytes
public com.google.protobuf.ByteString getBuildIdBytes()
The worker build id which is ready for retirement
string build_id = 1;- Specified by:
getBuildIdBytesin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder- Returns:
- The bytes for buildId.
-
getAllWorkflowsAreArchived
public boolean getAllWorkflowsAreArchived()
If true, there are no open *or* closed workflows, meaning there is no reason at all to keep the worker alive, not even to service queries on closed workflows. If not true, then there are no open workflows, but some closed ones.
bool all_workflows_are_archived = 2;- Specified by:
getAllWorkflowsAreArchivedin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder- Returns:
- The allWorkflowsAreArchived.
-
getPollersList
public java.util.List<PollerInfo> getPollersList()
Currently polling workers who match the build id ready for retirement
repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 3;- Specified by:
getPollersListin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
-
getPollersOrBuilderList
public java.util.List<? extends PollerInfoOrBuilder> getPollersOrBuilderList()
Currently polling workers who match the build id ready for retirement
repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 3;- Specified by:
getPollersOrBuilderListin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
-
getPollersCount
public int getPollersCount()
Currently polling workers who match the build id ready for retirement
repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 3;- Specified by:
getPollersCountin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
-
getPollers
public PollerInfo getPollers(int index)
Currently polling workers who match the build id ready for retirement
repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 3;- Specified by:
getPollersin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
-
getPollersOrBuilder
public PollerInfoOrBuilder getPollersOrBuilder(int index)
Currently polling workers who match the build id ready for retirement
repeated .temporal.api.taskqueue.v1.PollerInfo pollers = 3;- Specified by:
getPollersOrBuilderin interfaceGetWorkerBuildIdCompatabilityResponse.RetirementCandidateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder newBuilder()
-
newBuilder
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder newBuilder(GetWorkerBuildIdCompatabilityResponse.RetirementCandidate prototype)
-
toBuilder
public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetWorkerBuildIdCompatabilityResponse.RetirementCandidate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GetWorkerBuildIdCompatabilityResponse.RetirementCandidate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GetWorkerBuildIdCompatabilityResponse.RetirementCandidate> parser()
-
getParserForType
public com.google.protobuf.Parser<GetWorkerBuildIdCompatabilityResponse.RetirementCandidate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GetWorkerBuildIdCompatabilityResponse.RetirementCandidate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-