Class DescribeScheduleResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- DescribeScheduleResponse
public static final class DescribeScheduleResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder> implements DescribeScheduleResponseOrBuilder
Protobuf typetemporal.api.workflowservice.v1.DescribeScheduleResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeScheduleResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DescribeScheduleResponse
build()
DescribeScheduleResponse
buildPartial()
DescribeScheduleResponse.Builder
clear()
DescribeScheduleResponse.Builder
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.DescribeScheduleResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DescribeScheduleResponse.Builder
clearInfo()
Extra schedule state info.DescribeScheduleResponse.Builder
clearMemo()
The memo and search attributes that the schedule was created with.DescribeScheduleResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DescribeScheduleResponse.Builder
clearSchedule()
The complete current schedule details.DescribeScheduleResponse.Builder
clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
DescribeScheduleResponse.Builder
clone()
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.DescribeScheduleResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ScheduleInfo
getInfo()
Extra schedule state info.ScheduleInfo.Builder
getInfoBuilder()
Extra schedule state info.ScheduleInfoOrBuilder
getInfoOrBuilder()
Extra schedule state info.Memo
getMemo()
The memo and search attributes that the schedule was created with.Memo.Builder
getMemoBuilder()
The memo and search attributes that the schedule was created with.MemoOrBuilder
getMemoOrBuilder()
The memo and search attributes that the schedule was created with.Schedule
getSchedule()
The complete current schedule details.Schedule.Builder
getScheduleBuilder()
The complete current schedule details.ScheduleOrBuilder
getScheduleOrBuilder()
The complete current schedule details.SearchAttributes
getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
SearchAttributes.Builder
getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
SearchAttributesOrBuilder
getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
boolean
hasInfo()
Extra schedule state info.boolean
hasMemo()
The memo and search attributes that the schedule was created with.boolean
hasSchedule()
The complete current schedule details.boolean
hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DescribeScheduleResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DescribeScheduleResponse.Builder
mergeFrom(com.google.protobuf.Message other)
DescribeScheduleResponse.Builder
mergeFrom(DescribeScheduleResponse other)
DescribeScheduleResponse.Builder
mergeInfo(ScheduleInfo value)
Extra schedule state info.DescribeScheduleResponse.Builder
mergeMemo(Memo value)
The memo and search attributes that the schedule was created with.DescribeScheduleResponse.Builder
mergeSchedule(Schedule value)
The complete current schedule details.DescribeScheduleResponse.Builder
mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
DescribeScheduleResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DescribeScheduleResponse.Builder
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.DescribeScheduleResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DescribeScheduleResponse.Builder
setInfo(ScheduleInfo value)
Extra schedule state info.DescribeScheduleResponse.Builder
setInfo(ScheduleInfo.Builder builderForValue)
Extra schedule state info.DescribeScheduleResponse.Builder
setMemo(Memo value)
The memo and search attributes that the schedule was created with.DescribeScheduleResponse.Builder
setMemo(Memo.Builder builderForValue)
The memo and search attributes that the schedule was created with.DescribeScheduleResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DescribeScheduleResponse.Builder
setSchedule(Schedule value)
The complete current schedule details.DescribeScheduleResponse.Builder
setSchedule(Schedule.Builder builderForValue)
The complete current schedule details.DescribeScheduleResponse.Builder
setSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
DescribeScheduleResponse.Builder
setSearchAttributes(SearchAttributes.Builder builderForValue)
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
DescribeScheduleResponse.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
clear
public DescribeScheduleResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
getDefaultInstanceForType
public DescribeScheduleResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DescribeScheduleResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DescribeScheduleResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DescribeScheduleResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
setField
public DescribeScheduleResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
clearField
public DescribeScheduleResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
clearOneof
public DescribeScheduleResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
setRepeatedField
public DescribeScheduleResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
addRepeatedField
public DescribeScheduleResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
mergeFrom
public DescribeScheduleResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DescribeScheduleResponse.Builder>
-
mergeFrom
public DescribeScheduleResponse.Builder mergeFrom(DescribeScheduleResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
mergeFrom
public DescribeScheduleResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DescribeScheduleResponse.Builder>
- Throws:
java.io.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:
hasSchedule
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- Whether the schedule field is set.
-
getSchedule
public Schedule 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:
getSchedule
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- The schedule.
-
setSchedule
public DescribeScheduleResponse.Builder setSchedule(Schedule value)
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
public DescribeScheduleResponse.Builder setSchedule(Schedule.Builder builderForValue)
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
public DescribeScheduleResponse.Builder mergeSchedule(Schedule value)
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
public DescribeScheduleResponse.Builder 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
public Schedule.Builder 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
public ScheduleOrBuilder 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:
getScheduleOrBuilder
in interfaceDescribeScheduleResponseOrBuilder
-
hasInfo
public boolean hasInfo()
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
- Specified by:
hasInfo
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- Whether the info field is set.
-
getInfo
public ScheduleInfo getInfo()
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
- Specified by:
getInfo
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- The info.
-
setInfo
public DescribeScheduleResponse.Builder setInfo(ScheduleInfo value)
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
-
setInfo
public DescribeScheduleResponse.Builder setInfo(ScheduleInfo.Builder builderForValue)
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
-
mergeInfo
public DescribeScheduleResponse.Builder mergeInfo(ScheduleInfo value)
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
-
clearInfo
public DescribeScheduleResponse.Builder clearInfo()
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
-
getInfoBuilder
public ScheduleInfo.Builder getInfoBuilder()
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
-
getInfoOrBuilder
public ScheduleInfoOrBuilder getInfoOrBuilder()
Extra schedule state info.
.temporal.api.schedule.v1.ScheduleInfo info = 2;
- Specified by:
getInfoOrBuilder
in 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:
hasMemo
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- Whether the memo field is set.
-
getMemo
public Memo getMemo()
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
- Specified by:
getMemo
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- The memo.
-
setMemo
public DescribeScheduleResponse.Builder setMemo(Memo value)
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
-
setMemo
public DescribeScheduleResponse.Builder setMemo(Memo.Builder builderForValue)
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
-
mergeMemo
public DescribeScheduleResponse.Builder mergeMemo(Memo value)
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
-
clearMemo
public DescribeScheduleResponse.Builder clearMemo()
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
-
getMemoBuilder
public Memo.Builder getMemoBuilder()
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
-
getMemoOrBuilder
public MemoOrBuilder getMemoOrBuilder()
The memo and search attributes that the schedule was created with.
.temporal.api.common.v1.Memo memo = 3;
- Specified by:
getMemoOrBuilder
in interfaceDescribeScheduleResponseOrBuilder
-
hasSearchAttributes
public boolean hasSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
- Specified by:
hasSearchAttributes
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- Whether the searchAttributes field is set.
-
getSearchAttributes
public SearchAttributes getSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
- Specified by:
getSearchAttributes
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- The searchAttributes.
-
setSearchAttributes
public DescribeScheduleResponse.Builder setSearchAttributes(SearchAttributes value)
.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
public DescribeScheduleResponse.Builder mergeSearchAttributes(SearchAttributes value)
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
-
clearSearchAttributes
public DescribeScheduleResponse.Builder clearSearchAttributes()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
-
getSearchAttributesBuilder
public SearchAttributes.Builder getSearchAttributesBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
-
getSearchAttributesOrBuilder
public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
.temporal.api.common.v1.SearchAttributes search_attributes = 4;
- Specified by:
getSearchAttributesOrBuilder
in 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:
getConflictToken
in interfaceDescribeScheduleResponseOrBuilder
- Returns:
- The conflictToken.
-
setConflictToken
public DescribeScheduleResponse.Builder 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.
bytes conflict_token = 5;
- Parameters:
value
- The conflictToken to set.- Returns:
- This builder for chaining.
-
clearConflictToken
public DescribeScheduleResponse.Builder 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
mergeUnknownFields
public final DescribeScheduleResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DescribeScheduleResponse.Builder>
-
-