Class GetWorkflowExecutionHistoryResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetWorkflowExecutionHistoryResponseOrBuilder, Cloneable
Enclosing class:
GetWorkflowExecutionHistoryResponse

public static final class GetWorkflowExecutionHistoryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder> implements GetWorkflowExecutionHistoryResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • setField

      public GetWorkflowExecutionHistoryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • clearField

      public GetWorkflowExecutionHistoryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • clearOneof

      public GetWorkflowExecutionHistoryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • setRepeatedField

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

      public GetWorkflowExecutionHistoryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • mergeFrom

      public GetWorkflowExecutionHistoryResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • hasHistory

      public boolean hasHistory()
      .temporal.api.history.v1.History history = 1;
      Specified by:
      hasHistory in interface GetWorkflowExecutionHistoryResponseOrBuilder
      Returns:
      Whether the history field is set.
    • getHistory

      public History getHistory()
      .temporal.api.history.v1.History history = 1;
      Specified by:
      getHistory in interface GetWorkflowExecutionHistoryResponseOrBuilder
      Returns:
      The history.
    • setHistory

      .temporal.api.history.v1.History history = 1;
    • setHistory

      public GetWorkflowExecutionHistoryResponse.Builder setHistory(History.Builder builderForValue)
      .temporal.api.history.v1.History history = 1;
    • mergeHistory

      .temporal.api.history.v1.History history = 1;
    • clearHistory

      .temporal.api.history.v1.History history = 1;
    • getHistoryBuilder

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

      public HistoryOrBuilder getHistoryOrBuilder()
      .temporal.api.history.v1.History history = 1;
      Specified by:
      getHistoryOrBuilder in interface GetWorkflowExecutionHistoryResponseOrBuilder
    • getRawHistoryList

      public 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

       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(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

       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 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 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.
    • getArchived

      public boolean getArchived()
      bool archived = 4;
      Specified by:
      getArchived in interface GetWorkflowExecutionHistoryResponseOrBuilder
      Returns:
      The archived.
    • setArchived

      public GetWorkflowExecutionHistoryResponse.Builder setArchived(boolean value)
      bool archived = 4;
      Parameters:
      value - The archived to set.
      Returns:
      This builder for chaining.
    • clearArchived

      bool archived = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetWorkflowExecutionHistoryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>
    • mergeUnknownFields

      public final GetWorkflowExecutionHistoryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetWorkflowExecutionHistoryResponse.Builder>