Package io.temporal.api.batch.v1
Class BatchOperationInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
- io.temporal.api.batch.v1.BatchOperationInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchOperationInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- BatchOperationInfo
public static final class BatchOperationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder> implements BatchOperationInfoOrBuilder
Protobuf typetemporal.api.batch.v1.BatchOperationInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchOperationInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationInfobuild()BatchOperationInfobuildPartial()BatchOperationInfo.Builderclear()BatchOperationInfo.BuilderclearCloseTime()Batch operation close timeBatchOperationInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchOperationInfo.BuilderclearJobId()Batch job IDBatchOperationInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchOperationInfo.BuilderclearStartTime()Batch operation start timeBatchOperationInfo.BuilderclearState()Batch operation stateBatchOperationInfo.Builderclone()com.google.protobuf.TimestampgetCloseTime()Batch operation close timecom.google.protobuf.Timestamp.BuildergetCloseTimeBuilder()Batch operation close timecom.google.protobuf.TimestampOrBuildergetCloseTimeOrBuilder()Batch operation close timeBatchOperationInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetJobId()Batch job IDcom.google.protobuf.ByteStringgetJobIdBytes()Batch job IDcom.google.protobuf.TimestampgetStartTime()Batch operation start timecom.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Batch operation start timecom.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Batch operation start timeBatchOperationStategetState()Batch operation stateintgetStateValue()Batch operation statebooleanhasCloseTime()Batch operation close timebooleanhasStartTime()Batch operation start timeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchOperationInfo.BuildermergeCloseTime(com.google.protobuf.Timestamp value)Batch operation close timeBatchOperationInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchOperationInfo.BuildermergeFrom(com.google.protobuf.Message other)BatchOperationInfo.BuildermergeFrom(BatchOperationInfo other)BatchOperationInfo.BuildermergeStartTime(com.google.protobuf.Timestamp value)Batch operation start timeBatchOperationInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationInfo.BuildersetCloseTime(com.google.protobuf.Timestamp value)Batch operation close timeBatchOperationInfo.BuildersetCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)Batch operation close timeBatchOperationInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationInfo.BuildersetJobId(java.lang.String value)Batch job IDBatchOperationInfo.BuildersetJobIdBytes(com.google.protobuf.ByteString value)Batch job IDBatchOperationInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BatchOperationInfo.BuildersetStartTime(com.google.protobuf.Timestamp value)Batch operation start timeBatchOperationInfo.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Batch operation start timeBatchOperationInfo.BuildersetState(BatchOperationState value)Batch operation stateBatchOperationInfo.BuildersetStateValue(int value)Batch operation stateBatchOperationInfo.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
clear
public BatchOperationInfo.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<BatchOperationInfo.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<BatchOperationInfo.Builder>
-
getDefaultInstanceForType
public BatchOperationInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationInfo.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<BatchOperationInfo.Builder>
-
setField
public BatchOperationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
clearField
public BatchOperationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
clearOneof
public BatchOperationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
setRepeatedField
public BatchOperationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
addRepeatedField
public BatchOperationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
mergeFrom
public BatchOperationInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationInfo.Builder>
-
mergeFrom
public BatchOperationInfo.Builder mergeFrom(BatchOperationInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
mergeFrom
public BatchOperationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationInfo.Builder>- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId()
Batch job ID
string job_id = 1;- Specified by:
getJobIdin interfaceBatchOperationInfoOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()
Batch job ID
string job_id = 1;- Specified by:
getJobIdBytesin interfaceBatchOperationInfoOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
public BatchOperationInfo.Builder setJobId(java.lang.String value)
Batch job ID
string job_id = 1;- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
public BatchOperationInfo.Builder clearJobId()
Batch job ID
string job_id = 1;- Returns:
- This builder for chaining.
-
setJobIdBytes
public BatchOperationInfo.Builder setJobIdBytes(com.google.protobuf.ByteString value)
Batch job ID
string job_id = 1;- Parameters:
value- The bytes for jobId to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Batch operation state
.temporal.api.enums.v1.BatchOperationState state = 2;- Specified by:
getStateValuein interfaceBatchOperationInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public BatchOperationInfo.Builder setStateValue(int value)
Batch operation state
.temporal.api.enums.v1.BatchOperationState state = 2;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public BatchOperationState getState()
Batch operation state
.temporal.api.enums.v1.BatchOperationState state = 2;- Specified by:
getStatein interfaceBatchOperationInfoOrBuilder- Returns:
- The state.
-
setState
public BatchOperationInfo.Builder setState(BatchOperationState value)
Batch operation state
.temporal.api.enums.v1.BatchOperationState state = 2;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public BatchOperationInfo.Builder clearState()
Batch operation state
.temporal.api.enums.v1.BatchOperationState state = 2;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
Batch operation start time
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceBatchOperationInfoOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Batch operation start time
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceBatchOperationInfoOrBuilder- Returns:
- The startTime.
-
setStartTime
public BatchOperationInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
Batch operation start time
.google.protobuf.Timestamp start_time = 3;
-
setStartTime
public BatchOperationInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Batch operation start time
.google.protobuf.Timestamp start_time = 3;
-
mergeStartTime
public BatchOperationInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Batch operation start time
.google.protobuf.Timestamp start_time = 3;
-
clearStartTime
public BatchOperationInfo.Builder clearStartTime()
Batch operation start time
.google.protobuf.Timestamp start_time = 3;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Batch operation start time
.google.protobuf.Timestamp start_time = 3;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Batch operation start time
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceBatchOperationInfoOrBuilder
-
hasCloseTime
public boolean hasCloseTime()
Batch operation close time
.google.protobuf.Timestamp close_time = 4;- Specified by:
hasCloseTimein interfaceBatchOperationInfoOrBuilder- Returns:
- Whether the closeTime field is set.
-
getCloseTime
public com.google.protobuf.Timestamp getCloseTime()
Batch operation close time
.google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimein interfaceBatchOperationInfoOrBuilder- Returns:
- The closeTime.
-
setCloseTime
public BatchOperationInfo.Builder setCloseTime(com.google.protobuf.Timestamp value)
Batch operation close time
.google.protobuf.Timestamp close_time = 4;
-
setCloseTime
public BatchOperationInfo.Builder setCloseTime(com.google.protobuf.Timestamp.Builder builderForValue)
Batch operation close time
.google.protobuf.Timestamp close_time = 4;
-
mergeCloseTime
public BatchOperationInfo.Builder mergeCloseTime(com.google.protobuf.Timestamp value)
Batch operation close time
.google.protobuf.Timestamp close_time = 4;
-
clearCloseTime
public BatchOperationInfo.Builder clearCloseTime()
Batch operation close time
.google.protobuf.Timestamp close_time = 4;
-
getCloseTimeBuilder
public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
Batch operation close time
.google.protobuf.Timestamp close_time = 4;
-
getCloseTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCloseTimeOrBuilder()
Batch operation close time
.google.protobuf.Timestamp close_time = 4;- Specified by:
getCloseTimeOrBuilderin interfaceBatchOperationInfoOrBuilder
-
setUnknownFields
public final BatchOperationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
mergeUnknownFields
public final BatchOperationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationInfo.Builder>
-
-