Class Gateway.ExecMessage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Gateway.ExecMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<Gateway.ExecMessage.Builder>
moby.buildkit.v1.frontend.Gateway.ExecMessage.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Gateway.ExecMessageOrBuilder
Enclosing class:
Gateway.ExecMessage

public static final class Gateway.ExecMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<Gateway.ExecMessage.Builder> implements Gateway.ExecMessageOrBuilder
Protobuf type moby.buildkit.v1.frontend.ExecMessage
  • 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<Gateway.ExecMessage.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<Gateway.ExecMessage.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<Gateway.ExecMessage.Builder>
    • getDefaultInstanceForType

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

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

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

      public Gateway.ExecMessage.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<Gateway.ExecMessage.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<Gateway.ExecMessage.Builder>
    • mergeFrom

      public Gateway.ExecMessage.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<Gateway.ExecMessage.Builder>
      Throws:
      IOException
    • getInputCase

      public Gateway.ExecMessage.InputCase getInputCase()
      Specified by:
      getInputCase in interface Gateway.ExecMessageOrBuilder
    • clearInput

      public Gateway.ExecMessage.Builder clearInput()
    • getProcessID

      public String getProcessID()
      string ProcessID = 1;
      Specified by:
      getProcessID in interface Gateway.ExecMessageOrBuilder
      Returns:
      The processID.
    • getProcessIDBytes

      public com.google.protobuf.ByteString getProcessIDBytes()
      string ProcessID = 1;
      Specified by:
      getProcessIDBytes in interface Gateway.ExecMessageOrBuilder
      Returns:
      The bytes for processID.
    • setProcessID

      public Gateway.ExecMessage.Builder setProcessID(String value)
      string ProcessID = 1;
      Parameters:
      value - The processID to set.
      Returns:
      This builder for chaining.
    • clearProcessID

      public Gateway.ExecMessage.Builder clearProcessID()
      string ProcessID = 1;
      Returns:
      This builder for chaining.
    • setProcessIDBytes

      public Gateway.ExecMessage.Builder setProcessIDBytes(com.google.protobuf.ByteString value)
      string ProcessID = 1;
      Parameters:
      value - The bytes for processID to set.
      Returns:
      This builder for chaining.
    • hasInit

      public boolean hasInit()
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
      Specified by:
      hasInit in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the init field is set.
    • getInit

      public Gateway.InitMessage getInit()
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
      Specified by:
      getInit in interface Gateway.ExecMessageOrBuilder
      Returns:
      The init.
    • setInit

       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
    • setInit

      public Gateway.ExecMessage.Builder setInit(Gateway.InitMessage.Builder builderForValue)
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
    • mergeInit

       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
    • clearInit

      public Gateway.ExecMessage.Builder clearInit()
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
    • getInitBuilder

      public Gateway.InitMessage.Builder getInitBuilder()
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
    • getInitOrBuilder

      public Gateway.InitMessageOrBuilder getInitOrBuilder()
       InitMessage sent from client to server will start a new process in a
       container
       
      .moby.buildkit.v1.frontend.InitMessage Init = 2;
      Specified by:
      getInitOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasFile

      public boolean hasFile()
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
      Specified by:
      hasFile in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the file field is set.
    • getFile

      public Gateway.FdMessage getFile()
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
      Specified by:
      getFile in interface Gateway.ExecMessageOrBuilder
      Returns:
      The file.
    • setFile

       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
    • setFile

      public Gateway.ExecMessage.Builder setFile(Gateway.FdMessage.Builder builderForValue)
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
    • mergeFile

       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
    • clearFile

      public Gateway.ExecMessage.Builder clearFile()
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
    • getFileBuilder

      public Gateway.FdMessage.Builder getFileBuilder()
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
    • getFileOrBuilder

      public Gateway.FdMessageOrBuilder getFileOrBuilder()
       FdMessage used from client to server for input (stdin) and
       from server to client for output (stdout, stderr)
       
      .moby.buildkit.v1.frontend.FdMessage File = 3;
      Specified by:
      getFileOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasResize

      public boolean hasResize()
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
      Specified by:
      hasResize in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the resize field is set.
    • getResize

      public Gateway.ResizeMessage getResize()
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
      Specified by:
      getResize in interface Gateway.ExecMessageOrBuilder
      Returns:
      The resize.
    • setResize

       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
    • setResize

      public Gateway.ExecMessage.Builder setResize(Gateway.ResizeMessage.Builder builderForValue)
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
    • mergeResize

       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
    • clearResize

      public Gateway.ExecMessage.Builder clearResize()
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
    • getResizeBuilder

      public Gateway.ResizeMessage.Builder getResizeBuilder()
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
    • getResizeOrBuilder

      public Gateway.ResizeMessageOrBuilder getResizeOrBuilder()
       ResizeMessage used from client to server for terminal resize events
       
      .moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
      Specified by:
      getResizeOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasStarted

      public boolean hasStarted()
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
      Specified by:
      hasStarted in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the started field is set.
    • getStarted

      public Gateway.StartedMessage getStarted()
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
      Specified by:
      getStarted in interface Gateway.ExecMessageOrBuilder
      Returns:
      The started.
    • setStarted

       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
    • setStarted

      public Gateway.ExecMessage.Builder setStarted(Gateway.StartedMessage.Builder builderForValue)
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
    • mergeStarted

       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
    • clearStarted

      public Gateway.ExecMessage.Builder clearStarted()
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
    • getStartedBuilder

      public Gateway.StartedMessage.Builder getStartedBuilder()
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
    • getStartedOrBuilder

      public Gateway.StartedMessageOrBuilder getStartedOrBuilder()
       StartedMessage sent from server to client after InitMessage to
       indicate the process has started.
       
      .moby.buildkit.v1.frontend.StartedMessage Started = 5;
      Specified by:
      getStartedOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasExit

      public boolean hasExit()
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
      Specified by:
      hasExit in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the exit field is set.
    • getExit

      public Gateway.ExitMessage getExit()
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
      Specified by:
      getExit in interface Gateway.ExecMessageOrBuilder
      Returns:
      The exit.
    • setExit

       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
    • setExit

      public Gateway.ExecMessage.Builder setExit(Gateway.ExitMessage.Builder builderForValue)
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
    • mergeExit

       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
    • clearExit

      public Gateway.ExecMessage.Builder clearExit()
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
    • getExitBuilder

      public Gateway.ExitMessage.Builder getExitBuilder()
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
    • getExitOrBuilder

      public Gateway.ExitMessageOrBuilder getExitOrBuilder()
       ExitMessage sent from server to client will contain the exit code
       when the process ends.
       
      .moby.buildkit.v1.frontend.ExitMessage Exit = 6;
      Specified by:
      getExitOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasDone

      public boolean hasDone()
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
      Specified by:
      hasDone in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the done field is set.
    • getDone

      public Gateway.DoneMessage getDone()
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
      Specified by:
      getDone in interface Gateway.ExecMessageOrBuilder
      Returns:
      The done.
    • setDone

       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
    • setDone

      public Gateway.ExecMessage.Builder setDone(Gateway.DoneMessage.Builder builderForValue)
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
    • mergeDone

       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
    • clearDone

      public Gateway.ExecMessage.Builder clearDone()
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
    • getDoneBuilder

      public Gateway.DoneMessage.Builder getDoneBuilder()
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
    • getDoneOrBuilder

      public Gateway.DoneMessageOrBuilder getDoneOrBuilder()
       DoneMessage from server to client will be the last message for any
       process.  Note that FdMessage might be sent after ExitMessage.
       
      .moby.buildkit.v1.frontend.DoneMessage Done = 7;
      Specified by:
      getDoneOrBuilder in interface Gateway.ExecMessageOrBuilder
    • hasSignal

      public boolean hasSignal()
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
      Specified by:
      hasSignal in interface Gateway.ExecMessageOrBuilder
      Returns:
      Whether the signal field is set.
    • getSignal

      public Gateway.SignalMessage getSignal()
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
      Specified by:
      getSignal in interface Gateway.ExecMessageOrBuilder
      Returns:
      The signal.
    • setSignal

       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
    • setSignal

      public Gateway.ExecMessage.Builder setSignal(Gateway.SignalMessage.Builder builderForValue)
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
    • mergeSignal

       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
    • clearSignal

      public Gateway.ExecMessage.Builder clearSignal()
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
    • getSignalBuilder

      public Gateway.SignalMessage.Builder getSignalBuilder()
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
    • getSignalOrBuilder

      public Gateway.SignalMessageOrBuilder getSignalOrBuilder()
       SignalMessage is used from client to server to send signal events
       
      .moby.buildkit.v1.frontend.SignalMessage Signal = 8;
      Specified by:
      getSignalOrBuilder in interface Gateway.ExecMessageOrBuilder