Class GatewayOuterClass.StreamActivatedJobsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.StreamActivatedJobsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.StreamActivatedJobsRequestOrBuilder,Cloneable
- Enclosing class:
GatewayOuterClass.StreamActivatedJobsRequest
public static final class GatewayOuterClass.StreamActivatedJobsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
implements GatewayOuterClass.StreamActivatedJobsRequestOrBuilder
Protobuf type
gateway_protocol.StreamActivatedJobsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllFetchVariable(Iterable<String> values) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedaddAllTenantIds(Iterable<String> values) a list of identifiers of tenants for which to stream jobsaddFetchVariable(String value) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedaddFetchVariableBytes(com.google.protobuf.ByteString value) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTenantIds(String value) a list of identifiers of tenants for which to stream jobsaddTenantIdsBytes(com.google.protobuf.ByteString value) a list of identifiers of tenants for which to stream jobsbuild()clear()a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) a list of identifiers of tenants for which to stream jobsa job returned after this call will not be activated by another call until the timeout (in ms) has been reachedthe job type, as defined in the BPMN process (e.g.the name of the worker activating the jobs, mostly used for logging purposesclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFetchVariable(int index) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedcom.google.protobuf.ByteStringgetFetchVariableBytes(int index) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedinta list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedcom.google.protobuf.ProtocolStringLista list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedgetTenantIds(int index) a list of identifiers of tenants for which to stream jobscom.google.protobuf.ByteStringgetTenantIdsBytes(int index) a list of identifiers of tenants for which to stream jobsinta list of identifiers of tenants for which to stream jobscom.google.protobuf.ProtocolStringLista list of identifiers of tenants for which to stream jobslonga job returned after this call will not be activated by another call until the timeout (in ms) has been reachedgetType()the job type, as defined in the BPMN process (e.g.com.google.protobuf.ByteStringthe job type, as defined in the BPMN process (e.g.the name of the worker activating the jobs, mostly used for logging purposescom.google.protobuf.ByteStringthe name of the worker activating the jobs, mostly used for logging purposesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFetchVariable(int index, String value) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returnedsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTenantIds(int index, String value) a list of identifiers of tenants for which to stream jobssetTimeout(long value) a job returned after this call will not be activated by another call until the timeout (in ms) has been reachedthe job type, as defined in the BPMN process (e.g.setTypeBytes(com.google.protobuf.ByteString value) the job type, as defined in the BPMN process (e.g.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) the name of the worker activating the jobs, mostly used for logging purposessetWorkerBytes(com.google.protobuf.ByteString value) the name of the worker activating the jobs, mostly used for logging purposesMethods 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<GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
setField
public GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
clearField
public GatewayOuterClass.StreamActivatedJobsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
clearOneof
public GatewayOuterClass.StreamActivatedJobsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
mergeFrom
public GatewayOuterClass.StreamActivatedJobsRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
mergeFrom
public GatewayOuterClass.StreamActivatedJobsRequest.Builder mergeFrom(GatewayOuterClass.StreamActivatedJobsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
mergeFrom
public GatewayOuterClass.StreamActivatedJobsRequest.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<GatewayOuterClass.StreamActivatedJobsRequest.Builder>- Throws:
IOException
-
getType
the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)
string type = 1;- Specified by:
getTypein interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)
string type = 1;- Specified by:
getTypeBytesin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The bytes for type.
-
setType
the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)
string type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)
string type = 1;- Returns:
- This builder for chaining.
-
setTypeBytes
public GatewayOuterClass.StreamActivatedJobsRequest.Builder setTypeBytes(com.google.protobuf.ByteString value) the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)
string type = 1;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getWorker
the name of the worker activating the jobs, mostly used for logging purposes
string worker = 2;- Specified by:
getWorkerin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The worker.
-
getWorkerBytes
public com.google.protobuf.ByteString getWorkerBytes()the name of the worker activating the jobs, mostly used for logging purposes
string worker = 2;- Specified by:
getWorkerBytesin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The bytes for worker.
-
setWorker
the name of the worker activating the jobs, mostly used for logging purposes
string worker = 2;- Parameters:
value- The worker to set.- Returns:
- This builder for chaining.
-
clearWorker
the name of the worker activating the jobs, mostly used for logging purposes
string worker = 2;- Returns:
- This builder for chaining.
-
setWorkerBytes
public GatewayOuterClass.StreamActivatedJobsRequest.Builder setWorkerBytes(com.google.protobuf.ByteString value) the name of the worker activating the jobs, mostly used for logging purposes
string worker = 2;- Parameters:
value- The bytes for worker to set.- Returns:
- This builder for chaining.
-
getTimeout
public long getTimeout()a job returned after this call will not be activated by another call until the timeout (in ms) has been reached
int64 timeout = 3;- Specified by:
getTimeoutin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The timeout.
-
setTimeout
a job returned after this call will not be activated by another call until the timeout (in ms) has been reached
int64 timeout = 3;- Parameters:
value- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
a job returned after this call will not be activated by another call until the timeout (in ms) has been reached
int64 timeout = 3;- Returns:
- This builder for chaining.
-
getFetchVariableList
public com.google.protobuf.ProtocolStringList getFetchVariableList()a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Specified by:
getFetchVariableListin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- A list containing the fetchVariable.
-
getFetchVariableCount
public int getFetchVariableCount()a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Specified by:
getFetchVariableCountin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The count of fetchVariable.
-
getFetchVariable
a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Specified by:
getFetchVariablein interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fetchVariable at the given index.
-
getFetchVariableBytes
public com.google.protobuf.ByteString getFetchVariableBytes(int index) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Specified by:
getFetchVariableBytesin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fetchVariable at the given index.
-
setFetchVariable
public GatewayOuterClass.StreamActivatedJobsRequest.Builder setFetchVariable(int index, String value) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Parameters:
index- The index to set the value at.value- The fetchVariable to set.- Returns:
- This builder for chaining.
-
addFetchVariable
a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Parameters:
value- The fetchVariable to add.- Returns:
- This builder for chaining.
-
addAllFetchVariable
public GatewayOuterClass.StreamActivatedJobsRequest.Builder addAllFetchVariable(Iterable<String> values) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Parameters:
values- The fetchVariable to add.- Returns:
- This builder for chaining.
-
clearFetchVariable
a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Returns:
- This builder for chaining.
-
addFetchVariableBytes
public GatewayOuterClass.StreamActivatedJobsRequest.Builder addFetchVariableBytes(com.google.protobuf.ByteString value) a list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;- Parameters:
value- The bytes of the fetchVariable to add.- Returns:
- This builder for chaining.
-
getTenantIdsList
public com.google.protobuf.ProtocolStringList getTenantIdsList()a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Specified by:
getTenantIdsListin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- A list containing the tenantIds.
-
getTenantIdsCount
public int getTenantIdsCount()a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Specified by:
getTenantIdsCountin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Returns:
- The count of tenantIds.
-
getTenantIds
a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Specified by:
getTenantIdsin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tenantIds at the given index.
-
getTenantIdsBytes
public com.google.protobuf.ByteString getTenantIdsBytes(int index) a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Specified by:
getTenantIdsBytesin interfaceGatewayOuterClass.StreamActivatedJobsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tenantIds at the given index.
-
setTenantIds
a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Parameters:
index- The index to set the value at.value- The tenantIds to set.- Returns:
- This builder for chaining.
-
addTenantIds
a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Parameters:
value- The tenantIds to add.- Returns:
- This builder for chaining.
-
addAllTenantIds
public GatewayOuterClass.StreamActivatedJobsRequest.Builder addAllTenantIds(Iterable<String> values) a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Parameters:
values- The tenantIds to add.- Returns:
- This builder for chaining.
-
clearTenantIds
a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Returns:
- This builder for chaining.
-
addTenantIdsBytes
public GatewayOuterClass.StreamActivatedJobsRequest.Builder addTenantIdsBytes(com.google.protobuf.ByteString value) a list of identifiers of tenants for which to stream jobs
repeated string tenantIds = 6;- Parameters:
value- The bytes of the tenantIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.StreamActivatedJobsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.StreamActivatedJobsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.StreamActivatedJobsRequest.Builder>
-