Class Gateway.RefMap.Builder

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

public static final class Gateway.RefMap.Builder extends com.google.protobuf.GeneratedMessage.Builder<Gateway.RefMap.Builder> implements Gateway.RefMapOrBuilder
Protobuf type moby.buildkit.v1.frontend.RefMap
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Gateway.RefMap.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Gateway.RefMap.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Gateway.RefMap.Builder>
    • clear

      public Gateway.RefMap.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.RefMap.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.RefMap.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Gateway.RefMap.Builder mergeFrom(Gateway.RefMap other)
    • isInitialized

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

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

      public int getRefsCount()
      Description copied from interface: Gateway.RefMapOrBuilder
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
      Specified by:
      getRefsCount in interface Gateway.RefMapOrBuilder
    • containsRefs

      public boolean containsRefs(String key)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
      Specified by:
      containsRefs in interface Gateway.RefMapOrBuilder
    • getRefs

      @Deprecated public Map<String,Gateway.Ref> getRefs()
      Deprecated.
      Use getRefsMap() instead.
      Specified by:
      getRefs in interface Gateway.RefMapOrBuilder
    • getRefsMap

      public Map<String,Gateway.Ref> getRefsMap()
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
      Specified by:
      getRefsMap in interface Gateway.RefMapOrBuilder
    • getRefsOrDefault

      public Gateway.Ref getRefsOrDefault(String key, Gateway.Ref defaultValue)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
      Specified by:
      getRefsOrDefault in interface Gateway.RefMapOrBuilder
    • getRefsOrThrow

      public Gateway.Ref getRefsOrThrow(String key)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
      Specified by:
      getRefsOrThrow in interface Gateway.RefMapOrBuilder
    • clearRefs

      public Gateway.RefMap.Builder clearRefs()
    • removeRefs

      public Gateway.RefMap.Builder removeRefs(String key)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
    • getMutableRefs

      @Deprecated public Map<String,Gateway.Ref> getMutableRefs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putRefs

      public Gateway.RefMap.Builder putRefs(String key, Gateway.Ref value)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
    • putAllRefs

      public Gateway.RefMap.Builder putAllRefs(Map<String,Gateway.Ref> values)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;
    • putRefsBuilderIfAbsent

      public Gateway.Ref.Builder putRefsBuilderIfAbsent(String key)
      map<string, .moby.buildkit.v1.frontend.Ref> refs = 1;