Class CreateScheduleRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.workflowservice.v1.CreateScheduleRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateScheduleRequestOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:CreateScheduleRequest.java.pb.meta") public final class CreateScheduleRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateScheduleRequestOrBuilder(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)Protobuf typetemporal.api.workflowservice.v1.CreateScheduleRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateScheduleRequest.Builder(-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intIDENTITY_FIELD_NUMBERstatic intINITIAL_PATCH_FIELD_NUMBERstatic intMEMO_FIELD_NUMBERstatic intNAMESPACE_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intSCHEDULE_FIELD_NUMBERstatic intSCHEDULE_ID_FIELD_NUMBERstatic intSEARCH_ATTRIBUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static CreateScheduleRequestgetDefaultInstance()CreateScheduleRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetIdentity()The identity of the client who initiated this request.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the client who initiated this request.SchedulePatchgetInitialPatch()Optional initial patch (e.g.SchedulePatchOrBuildergetInitialPatchOrBuilder()Optional initial patch (e.g.MemogetMemo()Memo and search attributes to attach to the schedule itself.MemoOrBuildergetMemoOrBuilder()Memo and search attributes to attach to the schedule itself.java.lang.StringgetNamespace()The namespace the schedule should be created in.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace the schedule should be created in.com.google.protobuf.Parser<CreateScheduleRequest>getParserForType()java.lang.StringgetRequestId()A unique identifier for this create request for idempotence.com.google.protobuf.ByteStringgetRequestIdBytes()A unique identifier for this create request for idempotence.SchedulegetSchedule()The schedule spec, policies, action, and initial state.java.lang.StringgetScheduleId()The id of the new schedule.com.google.protobuf.ByteStringgetScheduleIdBytes()The id of the new schedule.ScheduleOrBuildergetScheduleOrBuilder()The schedule spec, policies, action, and initial state.SearchAttributesgetSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 8;SearchAttributesOrBuildergetSearchAttributesOrBuilder().temporal.api.common.v1.SearchAttributes search_attributes = 8;intgetSerializedSize()inthashCode()booleanhasInitialPatch()Optional initial patch (e.g.booleanhasMemo()Memo and search attributes to attach to the schedule itself.booleanhasSchedule()The schedule spec, policies, action, and initial state.booleanhasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CreateScheduleRequest.BuildernewBuilder()static CreateScheduleRequest.BuildernewBuilder(CreateScheduleRequest prototype)CreateScheduleRequest.BuildernewBuilderForType()protected CreateScheduleRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CreateScheduleRequestparseDelimitedFrom(java.io.InputStream input)static CreateScheduleRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateScheduleRequestparseFrom(byte[] data)static CreateScheduleRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateScheduleRequestparseFrom(com.google.protobuf.ByteString data)static CreateScheduleRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateScheduleRequestparseFrom(com.google.protobuf.CodedInputStream input)static CreateScheduleRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateScheduleRequestparseFrom(java.io.InputStream input)static CreateScheduleRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CreateScheduleRequestparseFrom(java.nio.ByteBuffer data)static CreateScheduleRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CreateScheduleRequest>parser()CreateScheduleRequest.BuildertoBuilder()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, 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
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_ID_FIELD_NUMBER
public static final int SCHEDULE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INITIAL_PATCH_FIELD_NUMBER
public static final int INITIAL_PATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMO_FIELD_NUMBER
public static final int MEMO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_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
-
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
public java.lang.String getNamespace()
The namespace the schedule should be created in.
string namespace = 1;- Specified by:
getNamespacein interfaceCreateScheduleRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
The namespace the schedule should be created in.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for namespace.
-
getScheduleId
public java.lang.String getScheduleId()
The id of the new schedule.
string schedule_id = 2;- Specified by:
getScheduleIdin interfaceCreateScheduleRequestOrBuilder- Returns:
- The scheduleId.
-
getScheduleIdBytes
public com.google.protobuf.ByteString getScheduleIdBytes()
The id of the new schedule.
string schedule_id = 2;- Specified by:
getScheduleIdBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for scheduleId.
-
hasSchedule
public boolean hasSchedule()
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
hasSchedulein interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
public Schedule getSchedule()
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getSchedulein interfaceCreateScheduleRequestOrBuilder- Returns:
- The schedule.
-
getScheduleOrBuilder
public ScheduleOrBuilder getScheduleOrBuilder()
The schedule spec, policies, action, and initial state.
.temporal.api.schedule.v1.Schedule schedule = 3;- Specified by:
getScheduleOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
hasInitialPatch
public boolean hasInitialPatch()
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
hasInitialPatchin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the initialPatch field is set.
-
getInitialPatch
public SchedulePatch getInitialPatch()
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
getInitialPatchin interfaceCreateScheduleRequestOrBuilder- Returns:
- The initialPatch.
-
getInitialPatchOrBuilder
public SchedulePatchOrBuilder getInitialPatchOrBuilder()
Optional initial patch (e.g. to run the action once immediately).
.temporal.api.schedule.v1.SchedulePatch initial_patch = 4;- Specified by:
getInitialPatchOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityin interfaceCreateScheduleRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for identity.
-
getRequestId
public java.lang.String getRequestId()
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdin interfaceCreateScheduleRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
A unique identifier for this create request for idempotence. Typically UUIDv4.
string request_id = 6;- Specified by:
getRequestIdBytesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The bytes for requestId.
-
hasMemo
public boolean hasMemo()
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
hasMemoin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
getMemoin interfaceCreateScheduleRequestOrBuilder- Returns:
- The memo.
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
Memo and search attributes to attach to the schedule itself.
.temporal.api.common.v1.Memo memo = 7;- Specified by:
getMemoOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
hasSearchAttributesin interfaceCreateScheduleRequestOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
getSearchAttributesin interfaceCreateScheduleRequestOrBuilder- Returns:
- The searchAttributes.
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 8;- Specified by:
getSearchAttributesOrBuilderin interfaceCreateScheduleRequestOrBuilder
-
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 CreateScheduleRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateScheduleRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CreateScheduleRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CreateScheduleRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static CreateScheduleRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CreateScheduleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static CreateScheduleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public CreateScheduleRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CreateScheduleRequest.Builder newBuilder()
-
newBuilder
public static CreateScheduleRequest.Builder newBuilder(CreateScheduleRequest prototype)
-
toBuilder
public CreateScheduleRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateScheduleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CreateScheduleRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CreateScheduleRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<CreateScheduleRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CreateScheduleRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-