Class Ops.Meta.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Ops.Meta.Builder>
com.google.protobuf.GeneratedMessage.Builder<Ops.Meta.Builder>
pb.Ops.Meta.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Ops.MetaOrBuilder
Enclosing class:
Ops.Meta

public static final class Ops.Meta.Builder extends com.google.protobuf.GeneratedMessage.Builder<Ops.Meta.Builder> implements Ops.MetaOrBuilder
 Meta is a set of arguments for ExecOp.
 Meta is unrelated to LLB metadata.
 FIXME: rename (ExecContext? ExecArgs?)
 
Protobuf type pb.Meta
  • 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<Ops.Meta.Builder>
    • clear

      public Ops.Meta.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<Ops.Meta.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<Ops.Meta.Builder>
    • getDefaultInstanceForType

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

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

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

      public Ops.Meta.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<Ops.Meta.Builder>
    • mergeFrom

      public Ops.Meta.Builder mergeFrom(Ops.Meta other)
    • isInitialized

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

      public Ops.Meta.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<Ops.Meta.Builder>
      Throws:
      IOException
    • getArgsList

      public com.google.protobuf.ProtocolStringList getArgsList()
      repeated string args = 1;
      Specified by:
      getArgsList in interface Ops.MetaOrBuilder
      Returns:
      A list containing the args.
    • getArgsCount

      public int getArgsCount()
      repeated string args = 1;
      Specified by:
      getArgsCount in interface Ops.MetaOrBuilder
      Returns:
      The count of args.
    • getArgs

      public String getArgs(int index)
      repeated string args = 1;
      Specified by:
      getArgs in interface Ops.MetaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The args at the given index.
    • getArgsBytes

      public com.google.protobuf.ByteString getArgsBytes(int index)
      repeated string args = 1;
      Specified by:
      getArgsBytes in interface Ops.MetaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the args at the given index.
    • setArgs

      public Ops.Meta.Builder setArgs(int index, String value)
      repeated string args = 1;
      Parameters:
      index - The index to set the value at.
      value - The args to set.
      Returns:
      This builder for chaining.
    • addArgs

      public Ops.Meta.Builder addArgs(String value)
      repeated string args = 1;
      Parameters:
      value - The args to add.
      Returns:
      This builder for chaining.
    • addAllArgs

      public Ops.Meta.Builder addAllArgs(Iterable<String> values)
      repeated string args = 1;
      Parameters:
      values - The args to add.
      Returns:
      This builder for chaining.
    • clearArgs

      public Ops.Meta.Builder clearArgs()
      repeated string args = 1;
      Returns:
      This builder for chaining.
    • addArgsBytes

      public Ops.Meta.Builder addArgsBytes(com.google.protobuf.ByteString value)
      repeated string args = 1;
      Parameters:
      value - The bytes of the args to add.
      Returns:
      This builder for chaining.
    • getEnvList

      public com.google.protobuf.ProtocolStringList getEnvList()
      repeated string env = 2;
      Specified by:
      getEnvList in interface Ops.MetaOrBuilder
      Returns:
      A list containing the env.
    • getEnvCount

      public int getEnvCount()
      repeated string env = 2;
      Specified by:
      getEnvCount in interface Ops.MetaOrBuilder
      Returns:
      The count of env.
    • getEnv

      public String getEnv(int index)
      repeated string env = 2;
      Specified by:
      getEnv in interface Ops.MetaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The env at the given index.
    • getEnvBytes

      public com.google.protobuf.ByteString getEnvBytes(int index)
      repeated string env = 2;
      Specified by:
      getEnvBytes in interface Ops.MetaOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the env at the given index.
    • setEnv

      public Ops.Meta.Builder setEnv(int index, String value)
      repeated string env = 2;
      Parameters:
      index - The index to set the value at.
      value - The env to set.
      Returns:
      This builder for chaining.
    • addEnv

      public Ops.Meta.Builder addEnv(String value)
      repeated string env = 2;
      Parameters:
      value - The env to add.
      Returns:
      This builder for chaining.
    • addAllEnv

      public Ops.Meta.Builder addAllEnv(Iterable<String> values)
      repeated string env = 2;
      Parameters:
      values - The env to add.
      Returns:
      This builder for chaining.
    • clearEnv

      public Ops.Meta.Builder clearEnv()
      repeated string env = 2;
      Returns:
      This builder for chaining.
    • addEnvBytes

      public Ops.Meta.Builder addEnvBytes(com.google.protobuf.ByteString value)
      repeated string env = 2;
      Parameters:
      value - The bytes of the env to add.
      Returns:
      This builder for chaining.
    • getCwd

      public String getCwd()
      string cwd = 3;
      Specified by:
      getCwd in interface Ops.MetaOrBuilder
      Returns:
      The cwd.
    • getCwdBytes

      public com.google.protobuf.ByteString getCwdBytes()
      string cwd = 3;
      Specified by:
      getCwdBytes in interface Ops.MetaOrBuilder
      Returns:
      The bytes for cwd.
    • setCwd

      public Ops.Meta.Builder setCwd(String value)
      string cwd = 3;
      Parameters:
      value - The cwd to set.
      Returns:
      This builder for chaining.
    • clearCwd

      public Ops.Meta.Builder clearCwd()
      string cwd = 3;
      Returns:
      This builder for chaining.
    • setCwdBytes

      public Ops.Meta.Builder setCwdBytes(com.google.protobuf.ByteString value)
      string cwd = 3;
      Parameters:
      value - The bytes for cwd to set.
      Returns:
      This builder for chaining.
    • getUser

      public String getUser()
      string user = 4;
      Specified by:
      getUser in interface Ops.MetaOrBuilder
      Returns:
      The user.
    • getUserBytes

      public com.google.protobuf.ByteString getUserBytes()
      string user = 4;
      Specified by:
      getUserBytes in interface Ops.MetaOrBuilder
      Returns:
      The bytes for user.
    • setUser

      public Ops.Meta.Builder setUser(String value)
      string user = 4;
      Parameters:
      value - The user to set.
      Returns:
      This builder for chaining.
    • clearUser

      public Ops.Meta.Builder clearUser()
      string user = 4;
      Returns:
      This builder for chaining.
    • setUserBytes

      public Ops.Meta.Builder setUserBytes(com.google.protobuf.ByteString value)
      string user = 4;
      Parameters:
      value - The bytes for user to set.
      Returns:
      This builder for chaining.
    • hasProxyEnv

      public boolean hasProxyEnv()
      .pb.ProxyEnv proxy_env = 5;
      Specified by:
      hasProxyEnv in interface Ops.MetaOrBuilder
      Returns:
      Whether the proxyEnv field is set.
    • getProxyEnv

      public Ops.ProxyEnv getProxyEnv()
      .pb.ProxyEnv proxy_env = 5;
      Specified by:
      getProxyEnv in interface Ops.MetaOrBuilder
      Returns:
      The proxyEnv.
    • setProxyEnv

      public Ops.Meta.Builder setProxyEnv(Ops.ProxyEnv value)
      .pb.ProxyEnv proxy_env = 5;
    • setProxyEnv

      public Ops.Meta.Builder setProxyEnv(Ops.ProxyEnv.Builder builderForValue)
      .pb.ProxyEnv proxy_env = 5;
    • mergeProxyEnv

      public Ops.Meta.Builder mergeProxyEnv(Ops.ProxyEnv value)
      .pb.ProxyEnv proxy_env = 5;
    • clearProxyEnv

      public Ops.Meta.Builder clearProxyEnv()
      .pb.ProxyEnv proxy_env = 5;
    • getProxyEnvBuilder

      public Ops.ProxyEnv.Builder getProxyEnvBuilder()
      .pb.ProxyEnv proxy_env = 5;
    • getProxyEnvOrBuilder

      public Ops.ProxyEnvOrBuilder getProxyEnvOrBuilder()
      .pb.ProxyEnv proxy_env = 5;
      Specified by:
      getProxyEnvOrBuilder in interface Ops.MetaOrBuilder
    • getExtraHostsList

      public List<Ops.HostIP> getExtraHostsList()
      repeated .pb.HostIP extraHosts = 6;
      Specified by:
      getExtraHostsList in interface Ops.MetaOrBuilder
    • getExtraHostsCount

      public int getExtraHostsCount()
      repeated .pb.HostIP extraHosts = 6;
      Specified by:
      getExtraHostsCount in interface Ops.MetaOrBuilder
    • getExtraHosts

      public Ops.HostIP getExtraHosts(int index)
      repeated .pb.HostIP extraHosts = 6;
      Specified by:
      getExtraHosts in interface Ops.MetaOrBuilder
    • setExtraHosts

      public Ops.Meta.Builder setExtraHosts(int index, Ops.HostIP value)
      repeated .pb.HostIP extraHosts = 6;
    • setExtraHosts

      public Ops.Meta.Builder setExtraHosts(int index, Ops.HostIP.Builder builderForValue)
      repeated .pb.HostIP extraHosts = 6;
    • addExtraHosts

      public Ops.Meta.Builder addExtraHosts(Ops.HostIP value)
      repeated .pb.HostIP extraHosts = 6;
    • addExtraHosts

      public Ops.Meta.Builder addExtraHosts(int index, Ops.HostIP value)
      repeated .pb.HostIP extraHosts = 6;
    • addExtraHosts

      public Ops.Meta.Builder addExtraHosts(Ops.HostIP.Builder builderForValue)
      repeated .pb.HostIP extraHosts = 6;
    • addExtraHosts

      public Ops.Meta.Builder addExtraHosts(int index, Ops.HostIP.Builder builderForValue)
      repeated .pb.HostIP extraHosts = 6;
    • addAllExtraHosts

      public Ops.Meta.Builder addAllExtraHosts(Iterable<? extends Ops.HostIP> values)
      repeated .pb.HostIP extraHosts = 6;
    • clearExtraHosts

      public Ops.Meta.Builder clearExtraHosts()
      repeated .pb.HostIP extraHosts = 6;
    • removeExtraHosts

      public Ops.Meta.Builder removeExtraHosts(int index)
      repeated .pb.HostIP extraHosts = 6;
    • getExtraHostsBuilder

      public Ops.HostIP.Builder getExtraHostsBuilder(int index)
      repeated .pb.HostIP extraHosts = 6;
    • getExtraHostsOrBuilder

      public Ops.HostIPOrBuilder getExtraHostsOrBuilder(int index)
      repeated .pb.HostIP extraHosts = 6;
      Specified by:
      getExtraHostsOrBuilder in interface Ops.MetaOrBuilder
    • getExtraHostsOrBuilderList

      public List<? extends Ops.HostIPOrBuilder> getExtraHostsOrBuilderList()
      repeated .pb.HostIP extraHosts = 6;
      Specified by:
      getExtraHostsOrBuilderList in interface Ops.MetaOrBuilder
    • addExtraHostsBuilder

      public Ops.HostIP.Builder addExtraHostsBuilder()
      repeated .pb.HostIP extraHosts = 6;
    • addExtraHostsBuilder

      public Ops.HostIP.Builder addExtraHostsBuilder(int index)
      repeated .pb.HostIP extraHosts = 6;
    • getExtraHostsBuilderList

      public List<Ops.HostIP.Builder> getExtraHostsBuilderList()
      repeated .pb.HostIP extraHosts = 6;
    • getHostname

      public String getHostname()
      string hostname = 7;
      Specified by:
      getHostname in interface Ops.MetaOrBuilder
      Returns:
      The hostname.
    • getHostnameBytes

      public com.google.protobuf.ByteString getHostnameBytes()
      string hostname = 7;
      Specified by:
      getHostnameBytes in interface Ops.MetaOrBuilder
      Returns:
      The bytes for hostname.
    • setHostname

      public Ops.Meta.Builder setHostname(String value)
      string hostname = 7;
      Parameters:
      value - The hostname to set.
      Returns:
      This builder for chaining.
    • clearHostname

      public Ops.Meta.Builder clearHostname()
      string hostname = 7;
      Returns:
      This builder for chaining.
    • setHostnameBytes

      public Ops.Meta.Builder setHostnameBytes(com.google.protobuf.ByteString value)
      string hostname = 7;
      Parameters:
      value - The bytes for hostname to set.
      Returns:
      This builder for chaining.
    • getUlimitList

      public List<Ops.Ulimit> getUlimitList()
      repeated .pb.Ulimit ulimit = 9;
      Specified by:
      getUlimitList in interface Ops.MetaOrBuilder
    • getUlimitCount

      public int getUlimitCount()
      repeated .pb.Ulimit ulimit = 9;
      Specified by:
      getUlimitCount in interface Ops.MetaOrBuilder
    • getUlimit

      public Ops.Ulimit getUlimit(int index)
      repeated .pb.Ulimit ulimit = 9;
      Specified by:
      getUlimit in interface Ops.MetaOrBuilder
    • setUlimit

      public Ops.Meta.Builder setUlimit(int index, Ops.Ulimit value)
      repeated .pb.Ulimit ulimit = 9;
    • setUlimit

      public Ops.Meta.Builder setUlimit(int index, Ops.Ulimit.Builder builderForValue)
      repeated .pb.Ulimit ulimit = 9;
    • addUlimit

      public Ops.Meta.Builder addUlimit(Ops.Ulimit value)
      repeated .pb.Ulimit ulimit = 9;
    • addUlimit

      public Ops.Meta.Builder addUlimit(int index, Ops.Ulimit value)
      repeated .pb.Ulimit ulimit = 9;
    • addUlimit

      public Ops.Meta.Builder addUlimit(Ops.Ulimit.Builder builderForValue)
      repeated .pb.Ulimit ulimit = 9;
    • addUlimit

      public Ops.Meta.Builder addUlimit(int index, Ops.Ulimit.Builder builderForValue)
      repeated .pb.Ulimit ulimit = 9;
    • addAllUlimit

      public Ops.Meta.Builder addAllUlimit(Iterable<? extends Ops.Ulimit> values)
      repeated .pb.Ulimit ulimit = 9;
    • clearUlimit

      public Ops.Meta.Builder clearUlimit()
      repeated .pb.Ulimit ulimit = 9;
    • removeUlimit

      public Ops.Meta.Builder removeUlimit(int index)
      repeated .pb.Ulimit ulimit = 9;
    • getUlimitBuilder

      public Ops.Ulimit.Builder getUlimitBuilder(int index)
      repeated .pb.Ulimit ulimit = 9;
    • getUlimitOrBuilder

      public Ops.UlimitOrBuilder getUlimitOrBuilder(int index)
      repeated .pb.Ulimit ulimit = 9;
      Specified by:
      getUlimitOrBuilder in interface Ops.MetaOrBuilder
    • getUlimitOrBuilderList

      public List<? extends Ops.UlimitOrBuilder> getUlimitOrBuilderList()
      repeated .pb.Ulimit ulimit = 9;
      Specified by:
      getUlimitOrBuilderList in interface Ops.MetaOrBuilder
    • addUlimitBuilder

      public Ops.Ulimit.Builder addUlimitBuilder()
      repeated .pb.Ulimit ulimit = 9;
    • addUlimitBuilder

      public Ops.Ulimit.Builder addUlimitBuilder(int index)
      repeated .pb.Ulimit ulimit = 9;
    • getUlimitBuilderList

      public List<Ops.Ulimit.Builder> getUlimitBuilderList()
      repeated .pb.Ulimit ulimit = 9;
    • getCgroupParent

      public String getCgroupParent()
      string cgroupParent = 10;
      Specified by:
      getCgroupParent in interface Ops.MetaOrBuilder
      Returns:
      The cgroupParent.
    • getCgroupParentBytes

      public com.google.protobuf.ByteString getCgroupParentBytes()
      string cgroupParent = 10;
      Specified by:
      getCgroupParentBytes in interface Ops.MetaOrBuilder
      Returns:
      The bytes for cgroupParent.
    • setCgroupParent

      public Ops.Meta.Builder setCgroupParent(String value)
      string cgroupParent = 10;
      Parameters:
      value - The cgroupParent to set.
      Returns:
      This builder for chaining.
    • clearCgroupParent

      public Ops.Meta.Builder clearCgroupParent()
      string cgroupParent = 10;
      Returns:
      This builder for chaining.
    • setCgroupParentBytes

      public Ops.Meta.Builder setCgroupParentBytes(com.google.protobuf.ByteString value)
      string cgroupParent = 10;
      Parameters:
      value - The bytes for cgroupParent to set.
      Returns:
      This builder for chaining.
    • getRemoveMountStubsRecursive

      public boolean getRemoveMountStubsRecursive()
      bool removeMountStubsRecursive = 11;
      Specified by:
      getRemoveMountStubsRecursive in interface Ops.MetaOrBuilder
      Returns:
      The removeMountStubsRecursive.
    • setRemoveMountStubsRecursive

      public Ops.Meta.Builder setRemoveMountStubsRecursive(boolean value)
      bool removeMountStubsRecursive = 11;
      Parameters:
      value - The removeMountStubsRecursive to set.
      Returns:
      This builder for chaining.
    • clearRemoveMountStubsRecursive

      public Ops.Meta.Builder clearRemoveMountStubsRecursive()
      bool removeMountStubsRecursive = 11;
      Returns:
      This builder for chaining.
    • getValidExitCodesList

      public List<Integer> getValidExitCodesList()
      repeated int32 validExitCodes = 12;
      Specified by:
      getValidExitCodesList in interface Ops.MetaOrBuilder
      Returns:
      A list containing the validExitCodes.
    • getValidExitCodesCount

      public int getValidExitCodesCount()
      repeated int32 validExitCodes = 12;
      Specified by:
      getValidExitCodesCount in interface Ops.MetaOrBuilder
      Returns:
      The count of validExitCodes.
    • getValidExitCodes

      public int getValidExitCodes(int index)
      repeated int32 validExitCodes = 12;
      Specified by:
      getValidExitCodes in interface Ops.MetaOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The validExitCodes at the given index.
    • setValidExitCodes

      public Ops.Meta.Builder setValidExitCodes(int index, int value)
      repeated int32 validExitCodes = 12;
      Parameters:
      index - The index to set the value at.
      value - The validExitCodes to set.
      Returns:
      This builder for chaining.
    • addValidExitCodes

      public Ops.Meta.Builder addValidExitCodes(int value)
      repeated int32 validExitCodes = 12;
      Parameters:
      value - The validExitCodes to add.
      Returns:
      This builder for chaining.
    • addAllValidExitCodes

      public Ops.Meta.Builder addAllValidExitCodes(Iterable<? extends Integer> values)
      repeated int32 validExitCodes = 12;
      Parameters:
      values - The validExitCodes to add.
      Returns:
      This builder for chaining.
    • clearValidExitCodes

      public Ops.Meta.Builder clearValidExitCodes()
      repeated int32 validExitCodes = 12;
      Returns:
      This builder for chaining.