Class UpdateScheduleRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
- io.temporal.api.workflowservice.v1.UpdateScheduleRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpdateScheduleRequestOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UpdateScheduleRequest
public static final class UpdateScheduleRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder> implements UpdateScheduleRequestOrBuilder
(-- api-linter: core::0134::request-mask-required=disabled aip.dev/not-precedent: UpdateSchedule doesn't follow Google API format --)
Protobuf typetemporal.api.workflowservice.v1.UpdateScheduleRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateScheduleRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UpdateScheduleRequest
build()
UpdateScheduleRequest
buildPartial()
UpdateScheduleRequest.Builder
clear()
UpdateScheduleRequest.Builder
clearConflictToken()
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.UpdateScheduleRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UpdateScheduleRequest.Builder
clearIdentity()
The identity of the client who initiated this request.UpdateScheduleRequest.Builder
clearNamespace()
The namespace of the schedule to update.UpdateScheduleRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UpdateScheduleRequest.Builder
clearRequestId()
A unique identifier for this update request for idempotence.UpdateScheduleRequest.Builder
clearSchedule()
The new schedule.UpdateScheduleRequest.Builder
clearScheduleId()
The id of the schedule to update.UpdateScheduleRequest.Builder
clone()
com.google.protobuf.ByteString
getConflictToken()
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.UpdateScheduleRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getIdentity()
The identity of the client who initiated this request.com.google.protobuf.ByteString
getIdentityBytes()
The identity of the client who initiated this request.java.lang.String
getNamespace()
The namespace of the schedule to update.com.google.protobuf.ByteString
getNamespaceBytes()
The namespace of the schedule to update.java.lang.String
getRequestId()
A unique identifier for this update request for idempotence.com.google.protobuf.ByteString
getRequestIdBytes()
A unique identifier for this update request for idempotence.Schedule
getSchedule()
The new schedule.Schedule.Builder
getScheduleBuilder()
The new schedule.java.lang.String
getScheduleId()
The id of the schedule to update.com.google.protobuf.ByteString
getScheduleIdBytes()
The id of the schedule to update.ScheduleOrBuilder
getScheduleOrBuilder()
The new schedule.boolean
hasSchedule()
The new schedule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UpdateScheduleRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateScheduleRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateScheduleRequest.Builder
mergeFrom(UpdateScheduleRequest other)
UpdateScheduleRequest.Builder
mergeSchedule(Schedule value)
The new schedule.UpdateScheduleRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateScheduleRequest.Builder
setConflictToken(com.google.protobuf.ByteString value)
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update.UpdateScheduleRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UpdateScheduleRequest.Builder
setIdentity(java.lang.String value)
The identity of the client who initiated this request.UpdateScheduleRequest.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the client who initiated this request.UpdateScheduleRequest.Builder
setNamespace(java.lang.String value)
The namespace of the schedule to update.UpdateScheduleRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of the schedule to update.UpdateScheduleRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UpdateScheduleRequest.Builder
setRequestId(java.lang.String value)
A unique identifier for this update request for idempotence.UpdateScheduleRequest.Builder
setRequestIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this update request for idempotence.UpdateScheduleRequest.Builder
setSchedule(Schedule value)
The new schedule.UpdateScheduleRequest.Builder
setSchedule(Schedule.Builder builderForValue)
The new schedule.UpdateScheduleRequest.Builder
setScheduleId(java.lang.String value)
The id of the schedule to update.UpdateScheduleRequest.Builder
setScheduleIdBytes(com.google.protobuf.ByteString value)
The id of the schedule to update.UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
clear
public UpdateScheduleRequest.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<UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
getDefaultInstanceForType
public UpdateScheduleRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateScheduleRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateScheduleRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
setField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
clearField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
clearOneof
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
setRepeatedField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
addRepeatedField
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
-
mergeFrom
public UpdateScheduleRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateScheduleRequest.Builder>
-
mergeFrom
public UpdateScheduleRequest.Builder mergeFrom(UpdateScheduleRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
mergeFrom
public UpdateScheduleRequest.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<UpdateScheduleRequest.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
The namespace of the schedule to update.
string namespace = 1;
- Specified by:
getNamespace
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
The namespace of the schedule to update.
string namespace = 1;
- Specified by:
getNamespaceBytes
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public UpdateScheduleRequest.Builder setNamespace(java.lang.String value)
The namespace of the schedule to update.
string namespace = 1;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public UpdateScheduleRequest.Builder clearNamespace()
The namespace of the schedule to update.
string namespace = 1;
- Returns:
- This builder for chaining.
-
setNamespaceBytes
public UpdateScheduleRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of the schedule to update.
string namespace = 1;
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getScheduleId
public java.lang.String getScheduleId()
The id of the schedule to update.
string schedule_id = 2;
- Specified by:
getScheduleId
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The scheduleId.
-
getScheduleIdBytes
public com.google.protobuf.ByteString getScheduleIdBytes()
The id of the schedule to update.
string schedule_id = 2;
- Specified by:
getScheduleIdBytes
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The bytes for scheduleId.
-
setScheduleId
public UpdateScheduleRequest.Builder setScheduleId(java.lang.String value)
The id of the schedule to update.
string schedule_id = 2;
- Parameters:
value
- The scheduleId to set.- Returns:
- This builder for chaining.
-
clearScheduleId
public UpdateScheduleRequest.Builder clearScheduleId()
The id of the schedule to update.
string schedule_id = 2;
- Returns:
- This builder for chaining.
-
setScheduleIdBytes
public UpdateScheduleRequest.Builder setScheduleIdBytes(com.google.protobuf.ByteString value)
The id of the schedule to update.
string schedule_id = 2;
- Parameters:
value
- The bytes for scheduleId to set.- Returns:
- This builder for chaining.
-
hasSchedule
public boolean hasSchedule()
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
- Specified by:
hasSchedule
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- Whether the schedule field is set.
-
getSchedule
public Schedule getSchedule()
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
- Specified by:
getSchedule
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The schedule.
-
setSchedule
public UpdateScheduleRequest.Builder setSchedule(Schedule value)
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
-
setSchedule
public UpdateScheduleRequest.Builder setSchedule(Schedule.Builder builderForValue)
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
-
mergeSchedule
public UpdateScheduleRequest.Builder mergeSchedule(Schedule value)
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
-
clearSchedule
public UpdateScheduleRequest.Builder clearSchedule()
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
-
getScheduleBuilder
public Schedule.Builder getScheduleBuilder()
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
-
getScheduleOrBuilder
public ScheduleOrBuilder getScheduleOrBuilder()
The new schedule. The four main fields of the schedule (spec, action, policies, state) are replaced completely by the values in this message.
.temporal.api.schedule.v1.Schedule schedule = 3;
- Specified by:
getScheduleOrBuilder
in interfaceUpdateScheduleRequestOrBuilder
-
getConflictToken
public com.google.protobuf.ByteString getConflictToken()
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;
- Specified by:
getConflictToken
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The conflictToken.
-
setConflictToken
public UpdateScheduleRequest.Builder setConflictToken(com.google.protobuf.ByteString value)
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;
- Parameters:
value
- The conflictToken to set.- Returns:
- This builder for chaining.
-
clearConflictToken
public UpdateScheduleRequest.Builder clearConflictToken()
This can be the value of conflict_token from a DescribeScheduleResponse, which will cause this request to fail if the schedule has been modified between the Describe and this Update. If missing, the schedule will be updated unconditionally.
bytes conflict_token = 4;
- Returns:
- This builder for chaining.
-
getIdentity
public java.lang.String getIdentity()
The identity of the client who initiated this request.
string identity = 5;
- Specified by:
getIdentity
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the client who initiated this request.
string identity = 5;
- Specified by:
getIdentityBytes
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The bytes for identity.
-
setIdentity
public UpdateScheduleRequest.Builder setIdentity(java.lang.String value)
The identity of the client who initiated this request.
string identity = 5;
- Parameters:
value
- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public UpdateScheduleRequest.Builder clearIdentity()
The identity of the client who initiated this request.
string identity = 5;
- Returns:
- This builder for chaining.
-
setIdentityBytes
public UpdateScheduleRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the client who initiated this request.
string identity = 5;
- Parameters:
value
- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
public java.lang.String getRequestId()
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;
- Specified by:
getRequestId
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;
- Specified by:
getRequestIdBytes
in interfaceUpdateScheduleRequestOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
public UpdateScheduleRequest.Builder setRequestId(java.lang.String value)
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public UpdateScheduleRequest.Builder clearRequestId()
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;
- Returns:
- This builder for chaining.
-
setRequestIdBytes
public UpdateScheduleRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 6;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
mergeUnknownFields
public final UpdateScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateScheduleRequest.Builder>
-
-