Class GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public GetWorkflowExecutionHistoryResponse.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<GetWorkflowExecutionHistoryResponse.Builder>
        Throws:
        java.io.IOException
      • getHistoryBuilder

        public History.Builder getHistoryBuilder()
        .temporal.api.history.v1.History history = 1;
      • getRawHistoryList

        public java.util.List<DataBlob> getRawHistoryList()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
        Specified by:
        getRawHistoryList in interface GetWorkflowExecutionHistoryResponseOrBuilder
      • getRawHistoryCount

        public int getRawHistoryCount()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
        Specified by:
        getRawHistoryCount in interface GetWorkflowExecutionHistoryResponseOrBuilder
      • getRawHistory

        public DataBlob getRawHistory​(int index)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
        Specified by:
        getRawHistory in interface GetWorkflowExecutionHistoryResponseOrBuilder
      • setRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder setRawHistory​(int index,
                                                                         DataBlob value)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • setRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder setRawHistory​(int index,
                                                                         DataBlob.Builder builderForValue)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder addRawHistory​(DataBlob value)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder addRawHistory​(int index,
                                                                         DataBlob value)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder addRawHistory​(DataBlob.Builder builderForValue)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder addRawHistory​(int index,
                                                                         DataBlob.Builder builderForValue)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addAllRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder addAllRawHistory​(java.lang.Iterable<? extends DataBlob> values)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • clearRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder clearRawHistory()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • removeRawHistory

        public GetWorkflowExecutionHistoryResponse.Builder removeRawHistory​(int index)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • getRawHistoryBuilder

        public DataBlob.Builder getRawHistoryBuilder​(int index)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • getRawHistoryOrBuilder

        public DataBlobOrBuilder getRawHistoryOrBuilder​(int index)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
        Specified by:
        getRawHistoryOrBuilder in interface GetWorkflowExecutionHistoryResponseOrBuilder
      • getRawHistoryOrBuilderList

        public java.util.List<? extends DataBlobOrBuilder> getRawHistoryOrBuilderList()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
        Specified by:
        getRawHistoryOrBuilderList in interface GetWorkflowExecutionHistoryResponseOrBuilder
      • addRawHistoryBuilder

        public DataBlob.Builder addRawHistoryBuilder()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • addRawHistoryBuilder

        public DataBlob.Builder addRawHistoryBuilder​(int index)
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • getRawHistoryBuilderList

        public java.util.List<DataBlob.Builder> getRawHistoryBuilderList()
         Raw history is an alternate representation of history that may be returned if configured on
         the frontend. This is not supported by all SDKs. Either this or `history` will be set.
         
        repeated .temporal.api.common.v1.DataBlob raw_history = 2;
      • getNextPageToken

        public com.google.protobuf.ByteString getNextPageToken()
         Will be set if there are more history events than were included in this response
         
        bytes next_page_token = 3;
        Specified by:
        getNextPageToken in interface GetWorkflowExecutionHistoryResponseOrBuilder
        Returns:
        The nextPageToken.
      • setNextPageToken

        public GetWorkflowExecutionHistoryResponse.Builder setNextPageToken​(com.google.protobuf.ByteString value)
         Will be set if there are more history events than were included in this response
         
        bytes next_page_token = 3;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public GetWorkflowExecutionHistoryResponse.Builder clearNextPageToken()
         Will be set if there are more history events than were included in this response
         
        bytes next_page_token = 3;
        Returns:
        This builder for chaining.