Class Protocol.WorkflowTarget.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Protocol.WorkflowTarget.Builder>
com.google.protobuf.GeneratedMessage.Builder<Protocol.WorkflowTarget.Builder>
dev.restate.sdk.core.generated.protocol.Protocol.WorkflowTarget.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Protocol.WorkflowTargetOrBuilder, Cloneable
Enclosing class:
Protocol.WorkflowTarget

public static final class Protocol.WorkflowTarget.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.WorkflowTarget.Builder> implements Protocol.WorkflowTargetOrBuilder
Protobuf type dev.restate.service.protocol.WorkflowTarget
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Protocol.WorkflowTarget.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.GeneratedMessage.Builder<Protocol.WorkflowTarget.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.GeneratedMessage.Builder<Protocol.WorkflowTarget.Builder>
    • getDefaultInstanceForType

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

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

      public Protocol.WorkflowTarget buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Protocol.WorkflowTarget.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<Protocol.WorkflowTarget.Builder>
    • mergeFrom

    • isInitialized

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

      public Protocol.WorkflowTarget.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<Protocol.WorkflowTarget.Builder>
      Throws:
      IOException
    • getWorkflowName

      public String getWorkflowName()
      string workflow_name = 1;
      Specified by:
      getWorkflowName in interface Protocol.WorkflowTargetOrBuilder
      Returns:
      The workflowName.
    • getWorkflowNameBytes

      public com.google.protobuf.ByteString getWorkflowNameBytes()
      string workflow_name = 1;
      Specified by:
      getWorkflowNameBytes in interface Protocol.WorkflowTargetOrBuilder
      Returns:
      The bytes for workflowName.
    • setWorkflowName

      public Protocol.WorkflowTarget.Builder setWorkflowName(String value)
      string workflow_name = 1;
      Parameters:
      value - The workflowName to set.
      Returns:
      This builder for chaining.
    • clearWorkflowName

      public Protocol.WorkflowTarget.Builder clearWorkflowName()
      string workflow_name = 1;
      Returns:
      This builder for chaining.
    • setWorkflowNameBytes

      public Protocol.WorkflowTarget.Builder setWorkflowNameBytes(com.google.protobuf.ByteString value)
      string workflow_name = 1;
      Parameters:
      value - The bytes for workflowName to set.
      Returns:
      This builder for chaining.
    • getWorkflowKey

      public String getWorkflowKey()
      string workflow_key = 2;
      Specified by:
      getWorkflowKey in interface Protocol.WorkflowTargetOrBuilder
      Returns:
      The workflowKey.
    • getWorkflowKeyBytes

      public com.google.protobuf.ByteString getWorkflowKeyBytes()
      string workflow_key = 2;
      Specified by:
      getWorkflowKeyBytes in interface Protocol.WorkflowTargetOrBuilder
      Returns:
      The bytes for workflowKey.
    • setWorkflowKey

      public Protocol.WorkflowTarget.Builder setWorkflowKey(String value)
      string workflow_key = 2;
      Parameters:
      value - The workflowKey to set.
      Returns:
      This builder for chaining.
    • clearWorkflowKey

      public Protocol.WorkflowTarget.Builder clearWorkflowKey()
      string workflow_key = 2;
      Returns:
      This builder for chaining.
    • setWorkflowKeyBytes

      public Protocol.WorkflowTarget.Builder setWorkflowKeyBytes(com.google.protobuf.ByteString value)
      string workflow_key = 2;
      Parameters:
      value - The bytes for workflowKey to set.
      Returns:
      This builder for chaining.