Class PollerGroupsInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PollerGroupsInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
io.temporal.api.taskqueue.v1.PollerGroupsInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PollerGroupsInfoOrBuilder,Cloneable
- Enclosing class:
PollerGroupsInfo
public static final class PollerGroupsInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
implements PollerGroupsInfoOrBuilder
A versioned snapshot of the poller groups the client should use for future polls to a task queue. The version is monotonically increasing so that a client can ignore a snapshot that is older than the one it has already applied.Protobuf type
temporal.api.taskqueue.v1.PollerGroupsInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllPollerGroups(Iterable<? extends PollerGroupInfo> values) The weighted list of poller groups the client should use for future polls to this task queue.addPollerGroups(int index, PollerGroupInfo value) The weighted list of poller groups the client should use for future polls to this task queue.addPollerGroups(int index, PollerGroupInfo.Builder builderForValue) The weighted list of poller groups the client should use for future polls to this task queue.addPollerGroups(PollerGroupInfo value) The weighted list of poller groups the client should use for future polls to this task queue.addPollerGroups(PollerGroupInfo.Builder builderForValue) The weighted list of poller groups the client should use for future polls to this task queue.The weighted list of poller groups the client should use for future polls to this task queue.addPollerGroupsBuilder(int index) The weighted list of poller groups the client should use for future polls to this task queue.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The weighted list of poller groups the client should use for future polls to this task queue.Monotonically increasing version of this snapshot.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPollerGroups(int index) The weighted list of poller groups the client should use for future polls to this task queue.getPollerGroupsBuilder(int index) The weighted list of poller groups the client should use for future polls to this task queue.The weighted list of poller groups the client should use for future polls to this task queue.intThe weighted list of poller groups the client should use for future polls to this task queue.The weighted list of poller groups the client should use for future polls to this task queue.getPollerGroupsOrBuilder(int index) The weighted list of poller groups the client should use for future polls to this task queue.List<? extends PollerGroupInfoOrBuilder> The weighted list of poller groups the client should use for future polls to this task queue.longMonotonically increasing version of this snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PollerGroupsInfo other) final PollerGroupsInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePollerGroups(int index) The weighted list of poller groups the client should use for future polls to this task queue.setPollerGroups(int index, PollerGroupInfo value) The weighted list of poller groups the client should use for future polls to this task queue.setPollerGroups(int index, PollerGroupInfo.Builder builderForValue) The weighted list of poller groups the client should use for future polls to this task queue.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final PollerGroupsInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersion(long value) Monotonically increasing version of this snapshot.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.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.GeneratedMessageV3.Builder<PollerGroupsInfo.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
setField
public PollerGroupsInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
setRepeatedField
public PollerGroupsInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
addRepeatedField
public PollerGroupsInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PollerGroupsInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
mergeFrom
public PollerGroupsInfo.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<PollerGroupsInfo.Builder>- Throws:
IOException
-
getVersion
public long getVersion()Monotonically increasing version of this snapshot. A client should ignore any snapshot whose version is not greater than the one it last applied.
int64 version = 1;- Specified by:
getVersionin interfacePollerGroupsInfoOrBuilder- Returns:
- The version.
-
setVersion
Monotonically increasing version of this snapshot. A client should ignore any snapshot whose version is not greater than the one it last applied.
int64 version = 1;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Monotonically increasing version of this snapshot. A client should ignore any snapshot whose version is not greater than the one it last applied.
int64 version = 1;- Returns:
- This builder for chaining.
-
getPollerGroupsList
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2;- Specified by:
getPollerGroupsListin interfacePollerGroupsInfoOrBuilder
-
getPollerGroupsCount
public int getPollerGroupsCount()The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2;- Specified by:
getPollerGroupsCountin interfacePollerGroupsInfoOrBuilder
-
getPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2;- Specified by:
getPollerGroupsin interfacePollerGroupsInfoOrBuilder
-
setPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
setPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addAllPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
clearPollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
removePollerGroups
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
getPollerGroupsBuilder
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
getPollerGroupsOrBuilder
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2;- Specified by:
getPollerGroupsOrBuilderin interfacePollerGroupsInfoOrBuilder
-
getPollerGroupsOrBuilderList
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2;- Specified by:
getPollerGroupsOrBuilderListin interfacePollerGroupsInfoOrBuilder
-
addPollerGroupsBuilder
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
addPollerGroupsBuilder
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
getPollerGroupsBuilderList
The weighted list of poller groups the client should use for future polls to this task queue.
repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_groups = 2; -
setUnknownFields
public final PollerGroupsInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-
mergeUnknownFields
public final PollerGroupsInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PollerGroupsInfo.Builder>
-