Class DescribeBatchOperationResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder>
      • getDefaultInstanceForType

        public DescribeBatchOperationResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DescribeBatchOperationResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DescribeBatchOperationResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public DescribeBatchOperationResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                       int index,
                                                                       java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescribeBatchOperationResponse.Builder>
      • mergeFrom

        public DescribeBatchOperationResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescribeBatchOperationResponse.Builder>
        Throws:
        java.io.IOException
      • setOperationTypeValue

        public DescribeBatchOperationResponse.Builder setOperationTypeValue​(int value)
         Batch operation type
         
        .temporal.api.enums.v1.BatchOperationType operation_type = 1;
        Parameters:
        value - The enum numeric value on the wire for operationType to set.
        Returns:
        This builder for chaining.
      • clearOperationType

        public DescribeBatchOperationResponse.Builder clearOperationType()
         Batch operation type
         
        .temporal.api.enums.v1.BatchOperationType operation_type = 1;
        Returns:
        This builder for chaining.
      • setJobId

        public DescribeBatchOperationResponse.Builder setJobId​(java.lang.String value)
         Batch job ID
         
        string job_id = 2;
        Parameters:
        value - The jobId to set.
        Returns:
        This builder for chaining.
      • setJobIdBytes

        public DescribeBatchOperationResponse.Builder setJobIdBytes​(com.google.protobuf.ByteString value)
         Batch job ID
         
        string job_id = 2;
        Parameters:
        value - The bytes for jobId to set.
        Returns:
        This builder for chaining.
      • setStateValue

        public DescribeBatchOperationResponse.Builder setStateValue​(int value)
         Batch operation state
         
        .temporal.api.enums.v1.BatchOperationState state = 3;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • hasStartTime

        public boolean hasStartTime()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        hasStartTime in interface DescribeBatchOperationResponseOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartTime in interface DescribeBatchOperationResponseOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public DescribeBatchOperationResponse.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
      • setStartTime

        public DescribeBatchOperationResponse.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
      • mergeStartTime

        public DescribeBatchOperationResponse.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Batch operation start time
         
        .google.protobuf.Timestamp start_time = 4 [(.gogoproto.stdtime) = true];
      • hasCloseTime

        public boolean hasCloseTime()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
        Specified by:
        hasCloseTime in interface DescribeBatchOperationResponseOrBuilder
        Returns:
        Whether the closeTime field is set.
      • getCloseTime

        public com.google.protobuf.Timestamp getCloseTime()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
        Specified by:
        getCloseTime in interface DescribeBatchOperationResponseOrBuilder
        Returns:
        The closeTime.
      • setCloseTime

        public DescribeBatchOperationResponse.Builder setCloseTime​(com.google.protobuf.Timestamp value)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
      • setCloseTime

        public DescribeBatchOperationResponse.Builder setCloseTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
      • mergeCloseTime

        public DescribeBatchOperationResponse.Builder mergeCloseTime​(com.google.protobuf.Timestamp value)
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
      • getCloseTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCloseTimeBuilder()
         Batch operation close time
         
        .google.protobuf.Timestamp close_time = 5 [(.gogoproto.stdtime) = true];
      • setTotalOperationCount

        public DescribeBatchOperationResponse.Builder setTotalOperationCount​(long value)
         Total operation count
         
        int64 total_operation_count = 6;
        Parameters:
        value - The totalOperationCount to set.
        Returns:
        This builder for chaining.
      • clearTotalOperationCount

        public DescribeBatchOperationResponse.Builder clearTotalOperationCount()
         Total operation count
         
        int64 total_operation_count = 6;
        Returns:
        This builder for chaining.
      • setCompleteOperationCount

        public DescribeBatchOperationResponse.Builder setCompleteOperationCount​(long value)
         Complete operation count
         
        int64 complete_operation_count = 7;
        Parameters:
        value - The completeOperationCount to set.
        Returns:
        This builder for chaining.
      • clearCompleteOperationCount

        public DescribeBatchOperationResponse.Builder clearCompleteOperationCount()
         Complete operation count
         
        int64 complete_operation_count = 7;
        Returns:
        This builder for chaining.
      • setFailureOperationCount

        public DescribeBatchOperationResponse.Builder setFailureOperationCount​(long value)
         Failure operation count
         
        int64 failure_operation_count = 8;
        Parameters:
        value - The failureOperationCount to set.
        Returns:
        This builder for chaining.
      • clearFailureOperationCount

        public DescribeBatchOperationResponse.Builder clearFailureOperationCount()
         Failure operation count
         
        int64 failure_operation_count = 8;
        Returns:
        This builder for chaining.
      • setIdentity

        public DescribeBatchOperationResponse.Builder setIdentity​(java.lang.String value)
         Identity indicates the operator identity
         
        string identity = 9;
        Parameters:
        value - The identity to set.
        Returns:
        This builder for chaining.
      • setIdentityBytes

        public DescribeBatchOperationResponse.Builder setIdentityBytes​(com.google.protobuf.ByteString value)
         Identity indicates the operator identity
         
        string identity = 9;
        Parameters:
        value - The bytes for identity to set.
        Returns:
        This builder for chaining.
      • setReason

        public DescribeBatchOperationResponse.Builder setReason​(java.lang.String value)
         Reason indicates the reason to stop a operation
         
        string reason = 10;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • setReasonBytes

        public DescribeBatchOperationResponse.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         Reason indicates the reason to stop a operation
         
        string reason = 10;
        Parameters:
        value - The bytes for reason to set.
        Returns:
        This builder for chaining.