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 Summary
Modifier and TypeMethodDescriptionbuild()
clear()
DoneMessage from server to client will be the last message for any process.ExitMessage sent from server to client will contain the exit code when the process ends.FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)InitMessage sent from client to server will start a new process in a containerstring ProcessID = 1;
ResizeMessage used from client to server for terminal resize eventsSignalMessage is used from client to server to send signal eventsStartedMessage sent from server to client after InitMessage to indicate the process has started.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getDone()
DoneMessage from server to client will be the last message for any process.DoneMessage from server to client will be the last message for any process.DoneMessage from server to client will be the last message for any process.getExit()
ExitMessage sent from server to client will contain the exit code when the process ends.ExitMessage sent from server to client will contain the exit code when the process ends.ExitMessage sent from server to client will contain the exit code when the process ends.getFile()
FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)getInit()
InitMessage sent from client to server will start a new process in a containerInitMessage sent from client to server will start a new process in a containerInitMessage sent from client to server will start a new process in a containerstring ProcessID = 1;
com.google.protobuf.ByteString
string ProcessID = 1;
ResizeMessage used from client to server for terminal resize eventsResizeMessage used from client to server for terminal resize eventsResizeMessage used from client to server for terminal resize eventsSignalMessage is used from client to server to send signal eventsSignalMessage is used from client to server to send signal eventsSignalMessage is used from client to server to send signal eventsStartedMessage sent from server to client after InitMessage to indicate the process has started.StartedMessage sent from server to client after InitMessage to indicate the process has started.StartedMessage sent from server to client after InitMessage to indicate the process has started.boolean
hasDone()
DoneMessage from server to client will be the last message for any process.boolean
hasExit()
ExitMessage sent from server to client will contain the exit code when the process ends.boolean
hasFile()
FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)boolean
hasInit()
InitMessage sent from client to server will start a new process in a containerboolean
ResizeMessage used from client to server for terminal resize eventsboolean
SignalMessage is used from client to server to send signal eventsboolean
StartedMessage sent from server to client after InitMessage to indicate the process has started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeDone
(Gateway.DoneMessage value) DoneMessage from server to client will be the last message for any process.mergeExit
(Gateway.ExitMessage value) ExitMessage sent from server to client will contain the exit code when the process ends.mergeFile
(Gateway.FdMessage value) FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Gateway.ExecMessage other) mergeInit
(Gateway.InitMessage value) InitMessage sent from client to server will start a new process in a containermergeResize
(Gateway.ResizeMessage value) ResizeMessage used from client to server for terminal resize eventsmergeSignal
(Gateway.SignalMessage value) SignalMessage is used from client to server to send signal eventsStartedMessage sent from server to client after InitMessage to indicate the process has started.setDone
(Gateway.DoneMessage value) DoneMessage from server to client will be the last message for any process.setDone
(Gateway.DoneMessage.Builder builderForValue) DoneMessage from server to client will be the last message for any process.setExit
(Gateway.ExitMessage value) ExitMessage sent from server to client will contain the exit code when the process ends.setExit
(Gateway.ExitMessage.Builder builderForValue) ExitMessage sent from server to client will contain the exit code when the process ends.setFile
(Gateway.FdMessage value) FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)setFile
(Gateway.FdMessage.Builder builderForValue) FdMessage used from client to server for input (stdin) and from server to client for output (stdout, stderr)setInit
(Gateway.InitMessage value) InitMessage sent from client to server will start a new process in a containersetInit
(Gateway.InitMessage.Builder builderForValue) InitMessage sent from client to server will start a new process in a containersetProcessID
(String value) string ProcessID = 1;
setProcessIDBytes
(com.google.protobuf.ByteString value) string ProcessID = 1;
setResize
(Gateway.ResizeMessage value) ResizeMessage used from client to server for terminal resize eventssetResize
(Gateway.ResizeMessage.Builder builderForValue) ResizeMessage used from client to server for terminal resize eventssetSignal
(Gateway.SignalMessage value) SignalMessage is used from client to server to send signal eventssetSignal
(Gateway.SignalMessage.Builder builderForValue) SignalMessage is used from client to server to send signal eventssetStarted
(Gateway.StartedMessage value) StartedMessage sent from server to client after InitMessage to indicate the process has started.setStarted
(Gateway.StartedMessage.Builder builderForValue) StartedMessage sent from server to client after InitMessage to indicate the process has started.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.ExecMessage.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.ExecMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.ExecMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gateway.ExecMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Gateway.ExecMessage.Builder>
- Throws:
IOException
-
getInputCase
- Specified by:
getInputCase
in interfaceGateway.ExecMessageOrBuilder
-
clearInput
-
getProcessID
string ProcessID = 1;
- Specified by:
getProcessID
in interfaceGateway.ExecMessageOrBuilder
- Returns:
- The processID.
-
getProcessIDBytes
public com.google.protobuf.ByteString getProcessIDBytes()string ProcessID = 1;
- Specified by:
getProcessIDBytes
in interfaceGateway.ExecMessageOrBuilder
- Returns:
- The bytes for processID.
-
setProcessID
string ProcessID = 1;
- Parameters:
value
- The processID to set.- Returns:
- This builder for chaining.
-
clearProcessID
string ProcessID = 1;
- Returns:
- This builder for chaining.
-
setProcessIDBytes
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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the init field is set.
-
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 interfaceGateway.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
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
InitMessage sent from client to server will start a new process in a container
.moby.buildkit.v1.frontend.InitMessage Init = 2;
-
getInitBuilder
InitMessage sent from client to server will start a new process in a container
.moby.buildkit.v1.frontend.InitMessage Init = 2;
-
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 interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the file field is set.
-
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 interfaceGateway.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
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
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
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
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 interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the resize field is set.
-
getResize
ResizeMessage used from client to server for terminal resize events
.moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
- Specified by:
getResize
in interfaceGateway.ExecMessageOrBuilder
- Returns:
- The resize.
-
setResize
ResizeMessage used from client to server for terminal resize events
.moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
-
setResize
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
ResizeMessage used from client to server for terminal resize events
.moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
-
getResizeBuilder
ResizeMessage used from client to server for terminal resize events
.moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
-
getResizeOrBuilder
ResizeMessage used from client to server for terminal resize events
.moby.buildkit.v1.frontend.ResizeMessage Resize = 4;
- Specified by:
getResizeOrBuilder
in interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the started field is set.
-
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 interfaceGateway.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
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
StartedMessage sent from server to client after InitMessage to indicate the process has started.
.moby.buildkit.v1.frontend.StartedMessage Started = 5;
-
getStartedBuilder
StartedMessage sent from server to client after InitMessage to indicate the process has started.
.moby.buildkit.v1.frontend.StartedMessage Started = 5;
-
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 interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the exit field is set.
-
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 interfaceGateway.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
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
ExitMessage sent from server to client will contain the exit code when the process ends.
.moby.buildkit.v1.frontend.ExitMessage Exit = 6;
-
getExitBuilder
ExitMessage sent from server to client will contain the exit code when the process ends.
.moby.buildkit.v1.frontend.ExitMessage Exit = 6;
-
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 interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the done field is set.
-
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 interfaceGateway.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
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
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
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
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 interfaceGateway.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 interfaceGateway.ExecMessageOrBuilder
- Returns:
- Whether the signal field is set.
-
getSignal
SignalMessage is used from client to server to send signal events
.moby.buildkit.v1.frontend.SignalMessage Signal = 8;
- Specified by:
getSignal
in interfaceGateway.ExecMessageOrBuilder
- Returns:
- The signal.
-
setSignal
SignalMessage is used from client to server to send signal events
.moby.buildkit.v1.frontend.SignalMessage Signal = 8;
-
setSignal
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
SignalMessage is used from client to server to send signal events
.moby.buildkit.v1.frontend.SignalMessage Signal = 8;
-
getSignalBuilder
SignalMessage is used from client to server to send signal events
.moby.buildkit.v1.frontend.SignalMessage Signal = 8;
-
getSignalOrBuilder
SignalMessage is used from client to server to send signal events
.moby.buildkit.v1.frontend.SignalMessage Signal = 8;
- Specified by:
getSignalOrBuilder
in interfaceGateway.ExecMessageOrBuilder
-