Class Gateway.InitMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Gateway.InitMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<Gateway.InitMessage.Builder>
moby.buildkit.v1.frontend.Gateway.InitMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Gateway.InitMessageOrBuilder
- Enclosing class:
Gateway.InitMessage
public static final class Gateway.InitMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Gateway.InitMessage.Builder>
implements Gateway.InitMessageOrBuilder
Protobuf type
moby.buildkit.v1.frontend.InitMessage
-
Method Summary
Modifier and TypeMethodDescriptionrepeated uint32 Fds = 3;
addAllSecretenv
(Iterable<? extends Ops.SecretEnv> values) repeated .pb.SecretEnv secretenv = 6;
addFds
(int value) repeated uint32 Fds = 3;
addSecretenv
(int index, Ops.SecretEnv value) repeated .pb.SecretEnv secretenv = 6;
addSecretenv
(int index, Ops.SecretEnv.Builder builderForValue) repeated .pb.SecretEnv secretenv = 6;
addSecretenv
(Ops.SecretEnv value) repeated .pb.SecretEnv secretenv = 6;
addSecretenv
(Ops.SecretEnv.Builder builderForValue) repeated .pb.SecretEnv secretenv = 6;
repeated .pb.SecretEnv secretenv = 6;
addSecretenvBuilder
(int index) repeated .pb.SecretEnv secretenv = 6;
build()
clear()
string ContainerID = 1;
clearFds()
repeated uint32 Fds = 3;
.pb.Meta Meta = 2;
repeated .pb.SecretEnv secretenv = 6;
.pb.SecurityMode Security = 5;
clearTty()
bool Tty = 4;
string ContainerID = 1;
com.google.protobuf.ByteString
string ContainerID = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
getFds
(int index) repeated uint32 Fds = 3;
int
repeated uint32 Fds = 3;
repeated uint32 Fds = 3;
getMeta()
.pb.Meta Meta = 2;
.pb.Meta Meta = 2;
.pb.Meta Meta = 2;
getSecretenv
(int index) repeated .pb.SecretEnv secretenv = 6;
getSecretenvBuilder
(int index) repeated .pb.SecretEnv secretenv = 6;
repeated .pb.SecretEnv secretenv = 6;
int
repeated .pb.SecretEnv secretenv = 6;
repeated .pb.SecretEnv secretenv = 6;
getSecretenvOrBuilder
(int index) repeated .pb.SecretEnv secretenv = 6;
List
<? extends Ops.SecretEnvOrBuilder> repeated .pb.SecretEnv secretenv = 6;
.pb.SecurityMode Security = 5;
int
.pb.SecurityMode Security = 5;
boolean
getTty()
bool Tty = 4;
boolean
hasMeta()
.pb.Meta Meta = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Gateway.InitMessage other) .pb.Meta Meta = 2;
removeSecretenv
(int index) repeated .pb.SecretEnv secretenv = 6;
setContainerID
(String value) string ContainerID = 1;
setContainerIDBytes
(com.google.protobuf.ByteString value) string ContainerID = 1;
setFds
(int index, int value) repeated uint32 Fds = 3;
.pb.Meta Meta = 2;
setMeta
(Ops.Meta.Builder builderForValue) .pb.Meta Meta = 2;
setSecretenv
(int index, Ops.SecretEnv value) repeated .pb.SecretEnv secretenv = 6;
setSecretenv
(int index, Ops.SecretEnv.Builder builderForValue) repeated .pb.SecretEnv secretenv = 6;
setSecurity
(Ops.SecurityMode value) .pb.SecurityMode Security = 5;
setSecurityValue
(int value) .pb.SecurityMode Security = 5;
setTty
(boolean value) bool Tty = 4;
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.InitMessage.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.InitMessage.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.InitMessage.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.InitMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Gateway.InitMessage.Builder>
-
mergeFrom
public Gateway.InitMessage.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.InitMessage.Builder>
- Throws:
IOException
-
getContainerID
string ContainerID = 1;
- Specified by:
getContainerID
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The containerID.
-
getContainerIDBytes
public com.google.protobuf.ByteString getContainerIDBytes()string ContainerID = 1;
- Specified by:
getContainerIDBytes
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The bytes for containerID.
-
setContainerID
string ContainerID = 1;
- Parameters:
value
- The containerID to set.- Returns:
- This builder for chaining.
-
clearContainerID
string ContainerID = 1;
- Returns:
- This builder for chaining.
-
setContainerIDBytes
string ContainerID = 1;
- Parameters:
value
- The bytes for containerID to set.- Returns:
- This builder for chaining.
-
hasMeta
public boolean hasMeta().pb.Meta Meta = 2;
- Specified by:
hasMeta
in interfaceGateway.InitMessageOrBuilder
- Returns:
- Whether the meta field is set.
-
getMeta
.pb.Meta Meta = 2;
- Specified by:
getMeta
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The meta.
-
setMeta
.pb.Meta Meta = 2;
-
setMeta
.pb.Meta Meta = 2;
-
mergeMeta
.pb.Meta Meta = 2;
-
clearMeta
.pb.Meta Meta = 2;
-
getMetaBuilder
.pb.Meta Meta = 2;
-
getMetaOrBuilder
.pb.Meta Meta = 2;
- Specified by:
getMetaOrBuilder
in interfaceGateway.InitMessageOrBuilder
-
getFdsList
repeated uint32 Fds = 3;
- Specified by:
getFdsList
in interfaceGateway.InitMessageOrBuilder
- Returns:
- A list containing the fds.
-
getFdsCount
public int getFdsCount()repeated uint32 Fds = 3;
- Specified by:
getFdsCount
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The count of fds.
-
getFds
public int getFds(int index) repeated uint32 Fds = 3;
- Specified by:
getFds
in interfaceGateway.InitMessageOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The fds at the given index.
-
setFds
repeated uint32 Fds = 3;
- Parameters:
index
- The index to set the value at.value
- The fds to set.- Returns:
- This builder for chaining.
-
addFds
repeated uint32 Fds = 3;
- Parameters:
value
- The fds to add.- Returns:
- This builder for chaining.
-
addAllFds
repeated uint32 Fds = 3;
- Parameters:
values
- The fds to add.- Returns:
- This builder for chaining.
-
clearFds
repeated uint32 Fds = 3;
- Returns:
- This builder for chaining.
-
getTty
public boolean getTty()bool Tty = 4;
- Specified by:
getTty
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The tty.
-
setTty
bool Tty = 4;
- Parameters:
value
- The tty to set.- Returns:
- This builder for chaining.
-
clearTty
-
getSecurityValue
public int getSecurityValue().pb.SecurityMode Security = 5;
- Specified by:
getSecurityValue
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The enum numeric value on the wire for security.
-
setSecurityValue
.pb.SecurityMode Security = 5;
- Parameters:
value
- The enum numeric value on the wire for security to set.- Returns:
- This builder for chaining.
-
getSecurity
.pb.SecurityMode Security = 5;
- Specified by:
getSecurity
in interfaceGateway.InitMessageOrBuilder
- Returns:
- The security.
-
setSecurity
.pb.SecurityMode Security = 5;
- Parameters:
value
- The security to set.- Returns:
- This builder for chaining.
-
clearSecurity
.pb.SecurityMode Security = 5;
- Returns:
- This builder for chaining.
-
getSecretenvList
repeated .pb.SecretEnv secretenv = 6;
- Specified by:
getSecretenvList
in interfaceGateway.InitMessageOrBuilder
-
getSecretenvCount
public int getSecretenvCount()repeated .pb.SecretEnv secretenv = 6;
- Specified by:
getSecretenvCount
in interfaceGateway.InitMessageOrBuilder
-
getSecretenv
repeated .pb.SecretEnv secretenv = 6;
- Specified by:
getSecretenv
in interfaceGateway.InitMessageOrBuilder
-
setSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
setSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
addSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
addSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
addSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
addSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
addAllSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
clearSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
removeSecretenv
repeated .pb.SecretEnv secretenv = 6;
-
getSecretenvBuilder
repeated .pb.SecretEnv secretenv = 6;
-
getSecretenvOrBuilder
repeated .pb.SecretEnv secretenv = 6;
- Specified by:
getSecretenvOrBuilder
in interfaceGateway.InitMessageOrBuilder
-
getSecretenvOrBuilderList
repeated .pb.SecretEnv secretenv = 6;
- Specified by:
getSecretenvOrBuilderList
in interfaceGateway.InitMessageOrBuilder
-
addSecretenvBuilder
repeated .pb.SecretEnv secretenv = 6;
-
addSecretenvBuilder
repeated .pb.SecretEnv secretenv = 6;
-
getSecretenvBuilderList
repeated .pb.SecretEnv secretenv = 6;
-