Class DescribeScheduleResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DescribeScheduleResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
io.temporal.api.workflowservice.v1.DescribeScheduleResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DescribeScheduleResponseOrBuilder,Cloneable
- Enclosing class:
DescribeScheduleResponse
public static final class DescribeScheduleResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
implements DescribeScheduleResponseOrBuilder
Protobuf type
temporal.api.workflowservice.v1.DescribeScheduleResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Extra schedule state info.The memo and search attributes that the schedule was created with.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The complete current schedule details..temporal.api.common.v1.SearchAttributes search_attributes = 4;clone()com.google.protobuf.ByteStringThis value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInfo()Extra schedule state info.Extra schedule state info.Extra schedule state info.getMemo()The memo and search attributes that the schedule was created with.The memo and search attributes that the schedule was created with.The memo and search attributes that the schedule was created with.The complete current schedule details.The complete current schedule details.The complete current schedule details..temporal.api.common.v1.SearchAttributes search_attributes = 4;.temporal.api.common.v1.SearchAttributes search_attributes = 4;.temporal.api.common.v1.SearchAttributes search_attributes = 4;booleanhasInfo()Extra schedule state info.booleanhasMemo()The memo and search attributes that the schedule was created with.booleanThe complete current schedule details.boolean.temporal.api.common.v1.SearchAttributes search_attributes = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInfo(ScheduleInfo value) Extra schedule state info.The memo and search attributes that the schedule was created with.mergeSchedule(Schedule value) The complete current schedule details..temporal.api.common.v1.SearchAttributes search_attributes = 4;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConflictToken(com.google.protobuf.ByteString value) This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.setInfo(ScheduleInfo value) Extra schedule state info.setInfo(ScheduleInfo.Builder builderForValue) Extra schedule state info.The memo and search attributes that the schedule was created with.setMemo(Memo.Builder builderForValue) The memo and search attributes that the schedule was created with.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchedule(Schedule value) The complete current schedule details.setSchedule(Schedule.Builder builderForValue) The complete current schedule details..temporal.api.common.v1.SearchAttributes search_attributes = 4;setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 4;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<DescribeScheduleResponse.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<DescribeScheduleResponse.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<DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
-
setField
public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
-
clearField
public DescribeScheduleResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
clearOneof
public DescribeScheduleResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
setRepeatedField
public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
-
addRepeatedField
public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DescribeScheduleResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
mergeFrom
public DescribeScheduleResponse.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<DescribeScheduleResponse.Builder>- Throws:
IOException
-
hasSchedule
public boolean hasSchedule()The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1;- Specified by:
hasSchedulein interfaceDescribeScheduleResponseOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1;- Specified by:
getSchedulein interfaceDescribeScheduleResponseOrBuilder- Returns:
- The schedule.
-
setSchedule
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1; -
setSchedule
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1; -
mergeSchedule
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1; -
clearSchedule
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1; -
getScheduleBuilder
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1; -
getScheduleOrBuilder
The complete current schedule details. This may not match the schedule as created because: - some types of schedule specs may get compiled into others (e.g. CronString into StructuredCalendarSpec) - some unspecified fields may be replaced by defaults - some fields in the state are modified automatically - the schedule may have been modified by UpdateSchedule or PatchSchedule
.temporal.api.schedule.v1.Schedule schedule = 1;- Specified by:
getScheduleOrBuilderin interfaceDescribeScheduleResponseOrBuilder
-
hasInfo
public boolean hasInfo()Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;- Specified by:
hasInfoin interfaceDescribeScheduleResponseOrBuilder- Returns:
- Whether the info field is set.
-
getInfo
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;- Specified by:
getInfoin interfaceDescribeScheduleResponseOrBuilder- Returns:
- The info.
-
setInfo
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2; -
setInfo
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2; -
mergeInfo
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2; -
clearInfo
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2; -
getInfoBuilder
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2; -
getInfoOrBuilder
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;- Specified by:
getInfoOrBuilderin interfaceDescribeScheduleResponseOrBuilder
-
hasMemo
public boolean hasMemo()The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;- Specified by:
hasMemoin interfaceDescribeScheduleResponseOrBuilder- Returns:
- Whether the memo field is set.
-
getMemo
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;- Specified by:
getMemoin interfaceDescribeScheduleResponseOrBuilder- Returns:
- The memo.
-
setMemo
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3; -
setMemo
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3; -
mergeMemo
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3; -
clearMemo
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3; -
getMemoBuilder
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3; -
getMemoOrBuilder
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;- Specified by:
getMemoOrBuilderin interfaceDescribeScheduleResponseOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes().temporal.api.common.v1.SearchAttributes search_attributes = 4;- Specified by:
hasSearchAttributesin interfaceDescribeScheduleResponseOrBuilder- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 4;- Specified by:
getSearchAttributesin interfaceDescribeScheduleResponseOrBuilder- Returns:
- The searchAttributes.
-
setSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 4; -
setSearchAttributes
public DescribeScheduleResponse.Builder setSearchAttributes(SearchAttributes.Builder builderForValue) .temporal.api.common.v1.SearchAttributes search_attributes = 4; -
mergeSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 4; -
clearSearchAttributes
.temporal.api.common.v1.SearchAttributes search_attributes = 4; -
getSearchAttributesBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 4; -
getSearchAttributesOrBuilder
.temporal.api.common.v1.SearchAttributes search_attributes = 4;- Specified by:
getSearchAttributesOrBuilderin interfaceDescribeScheduleResponseOrBuilder
-
getConflictToken
public com.google.protobuf.ByteString getConflictToken()This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.
bytes conflict_token = 5;- Specified by:
getConflictTokenin interfaceDescribeScheduleResponseOrBuilder- Returns:
- The conflictToken.
-
setConflictToken
This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.
bytes conflict_token = 5;- Parameters:
value- The conflictToken to set.- Returns:
- This builder for chaining.
-
clearConflictToken
This value can be passed back to UpdateSchedule to ensure that the schedule was not modified between a Describe and an Update, which could lead to lost updates and other confusion.
bytes conflict_token = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DescribeScheduleResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
mergeUnknownFields
public final DescribeScheduleResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-