Class CreateWorkflowRuleRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateWorkflowRuleRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:CreateWorkflowRuleRequest.java.pb.meta")
public final class CreateWorkflowRuleRequest
extends com.google.protobuf.GeneratedMessageV3
implements CreateWorkflowRuleRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.CreateWorkflowRuleRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.CreateWorkflowRuleRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateWorkflowRuleRequestRule description.Will be stored with the rule.com.google.protobuf.ByteStringRule description.Will be stored with the rule.static final com.google.protobuf.Descriptors.DescriptorbooleanIf true, the rule will be applied to the currently running workflows via batch job.Identity of the actor who created the rule.com.google.protobuf.ByteStringIdentity of the actor who created the rule.string namespace = 1;com.google.protobuf.ByteStringstring namespace = 1;com.google.protobuf.Parser<CreateWorkflowRuleRequest> Used to de-dupe requests.com.google.protobuf.ByteStringUsed to de-dupe requests.intgetSpec()The rule specification .The rule specification .inthashCode()booleanhasSpec()The rule specification .protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(CreateWorkflowRuleRequest prototype) protected CreateWorkflowRuleRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CreateWorkflowRuleRequestparseDelimitedFrom(InputStream input) static CreateWorkflowRuleRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateWorkflowRuleRequestparseFrom(byte[] data) static CreateWorkflowRuleRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateWorkflowRuleRequestparseFrom(com.google.protobuf.ByteString data) static CreateWorkflowRuleRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateWorkflowRuleRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateWorkflowRuleRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateWorkflowRuleRequestparseFrom(InputStream input) static CreateWorkflowRuleRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateWorkflowRuleRequestparseFrom(ByteBuffer data) static CreateWorkflowRuleRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateWorkflowRuleRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER- See Also:
-
FORCE_SCAN_FIELD_NUMBER
public static final int FORCE_SCAN_FIELD_NUMBER- See Also:
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
getNamespace
string namespace = 1;- Specified by:
getNamespacein interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 1;- Specified by:
getNamespaceBytesin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The bytes for namespace.
-
hasSpec
public boolean hasSpec()The rule specification .
.temporal.api.rules.v1.WorkflowRuleSpec spec = 2;- Specified by:
hasSpecin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The rule specification .
.temporal.api.rules.v1.WorkflowRuleSpec spec = 2;- Specified by:
getSpecin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The spec.
-
getSpecOrBuilder
The rule specification .
.temporal.api.rules.v1.WorkflowRuleSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceCreateWorkflowRuleRequestOrBuilder
-
getForceScan
public boolean getForceScan()If true, the rule will be applied to the currently running workflows via batch job. If not set , the rule will only be applied when triggering condition is satisfied. visibility_query in the rule will be used to select the workflows to apply the rule to.
bool force_scan = 3;- Specified by:
getForceScanin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The forceScan.
-
getRequestId
Used to de-dupe requests. Typically should be UUID.
string request_id = 4;- Specified by:
getRequestIdin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Used to de-dupe requests. Typically should be UUID.
string request_id = 4;- Specified by:
getRequestIdBytesin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The bytes for requestId.
-
getIdentity
Identity of the actor who created the rule. Will be stored with the rule.
string identity = 5;- Specified by:
getIdentityin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()Identity of the actor who created the rule. Will be stored with the rule.
string identity = 5;- Specified by:
getIdentityBytesin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The bytes for identity.
-
getDescription
Rule description.Will be stored with the rule.
string description = 6;- Specified by:
getDescriptionin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Rule description.Will be stored with the rule.
string description = 6;- Specified by:
getDescriptionBytesin interfaceCreateWorkflowRuleRequestOrBuilder- Returns:
- The bytes for description.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 CreateWorkflowRuleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateWorkflowRuleRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateWorkflowRuleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateWorkflowRuleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-