Class PatchScheduleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PatchScheduleRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
io.temporal.api.workflowservice.v1.PatchScheduleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PatchScheduleRequestOrBuilder,Cloneable
- Enclosing class:
PatchScheduleRequest
public static final class PatchScheduleRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
implements PatchScheduleRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.PatchScheduleRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who initiated this request.The namespace of the schedule to patch.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .temporal.api.schedule.v1.SchedulePatch patch = 3;A unique identifier for this update request for idempotence.The id of the schedule to patch.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.The namespace of the schedule to patch.com.google.protobuf.ByteStringThe namespace of the schedule to patch.getPatch().temporal.api.schedule.v1.SchedulePatch patch = 3;.temporal.api.schedule.v1.SchedulePatch patch = 3;.temporal.api.schedule.v1.SchedulePatch patch = 3;A unique identifier for this update request for idempotence.com.google.protobuf.ByteStringA unique identifier for this update request for idempotence.The id of the schedule to patch.com.google.protobuf.ByteStringThe id of the schedule to patch.booleanhasPatch().temporal.api.schedule.v1.SchedulePatch patch = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PatchScheduleRequest other) mergePatch(SchedulePatch value) .temporal.api.schedule.v1.SchedulePatch patch = 3;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIdentity(String value) The identity of the client who initiated this request.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this request.setNamespace(String value) The namespace of the schedule to patch.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace of the schedule to patch.setPatch(SchedulePatch value) .temporal.api.schedule.v1.SchedulePatch patch = 3;setPatch(SchedulePatch.Builder builderForValue) .temporal.api.schedule.v1.SchedulePatch patch = 3;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) A unique identifier for this update request for idempotence.setRequestIdBytes(com.google.protobuf.ByteString value) A unique identifier for this update request for idempotence.setScheduleId(String value) The id of the schedule to patch.setScheduleIdBytes(com.google.protobuf.ByteString value) The id of the schedule to patch.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<PatchScheduleRequest.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<PatchScheduleRequest.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<PatchScheduleRequest.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<PatchScheduleRequest.Builder>
-
setField
public PatchScheduleRequest.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<PatchScheduleRequest.Builder>
-
clearField
public PatchScheduleRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
-
clearOneof
public PatchScheduleRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
-
setRepeatedField
public PatchScheduleRequest.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<PatchScheduleRequest.Builder>
-
addRepeatedField
public PatchScheduleRequest.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<PatchScheduleRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchScheduleRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
-
mergeFrom
public PatchScheduleRequest.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<PatchScheduleRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace of the schedule to patch.
string namespace = 1;- Specified by:
getNamespacein interfacePatchScheduleRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace of the schedule to patch.
string namespace = 1;- Specified by:
getNamespaceBytesin interfacePatchScheduleRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace of the schedule to patch.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace of the schedule to patch.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The namespace of the schedule to patch.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getScheduleId
The id of the schedule to patch.
string schedule_id = 2;- Specified by:
getScheduleIdin interfacePatchScheduleRequestOrBuilder- Returns:
- The scheduleId.
-
getScheduleIdBytes
public com.google.protobuf.ByteString getScheduleIdBytes()The id of the schedule to patch.
string schedule_id = 2;- Specified by:
getScheduleIdBytesin interfacePatchScheduleRequestOrBuilder- Returns:
- The bytes for scheduleId.
-
setScheduleId
The id of the schedule to patch.
string schedule_id = 2;- Parameters:
value- The scheduleId to set.- Returns:
- This builder for chaining.
-
clearScheduleId
The id of the schedule to patch.
string schedule_id = 2;- Returns:
- This builder for chaining.
-
setScheduleIdBytes
The id of the schedule to patch.
string schedule_id = 2;- Parameters:
value- The bytes for scheduleId to set.- Returns:
- This builder for chaining.
-
hasPatch
public boolean hasPatch().temporal.api.schedule.v1.SchedulePatch patch = 3;- Specified by:
hasPatchin interfacePatchScheduleRequestOrBuilder- Returns:
- Whether the patch field is set.
-
getPatch
.temporal.api.schedule.v1.SchedulePatch patch = 3;- Specified by:
getPatchin interfacePatchScheduleRequestOrBuilder- Returns:
- The patch.
-
setPatch
.temporal.api.schedule.v1.SchedulePatch patch = 3; -
setPatch
.temporal.api.schedule.v1.SchedulePatch patch = 3; -
mergePatch
.temporal.api.schedule.v1.SchedulePatch patch = 3; -
clearPatch
.temporal.api.schedule.v1.SchedulePatch patch = 3; -
getPatchBuilder
.temporal.api.schedule.v1.SchedulePatch patch = 3; -
getPatchOrBuilder
.temporal.api.schedule.v1.SchedulePatch patch = 3;- Specified by:
getPatchOrBuilderin interfacePatchScheduleRequestOrBuilder
-
getIdentity
The identity of the client who initiated this request.
string identity = 4;- Specified by:
getIdentityin interfacePatchScheduleRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 4;- Specified by:
getIdentityBytesin interfacePatchScheduleRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request.
string identity = 4;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request.
string identity = 4;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the client who initiated this request.
string identity = 4;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getRequestId
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 5;- Specified by:
getRequestIdin interfacePatchScheduleRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 5;- Specified by:
getRequestIdBytesin interfacePatchScheduleRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 5;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 5;- Returns:
- This builder for chaining.
-
setRequestIdBytes
A unique identifier for this update request for idempotence. Typically UUIDv4.
string request_id = 5;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PatchScheduleRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
-
mergeUnknownFields
public final PatchScheduleRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PatchScheduleRequest.Builder>
-