Class Gateway.Ref.Builder

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

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

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

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

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

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

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

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

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

      public String getId()
      string id = 1;
      Specified by:
      getId in interface Gateway.RefOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      Specified by:
      getIdBytes in interface Gateway.RefOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Gateway.Ref.Builder setId(String value)
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Gateway.Ref.Builder clearId()
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public Gateway.Ref.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasDef

      public boolean hasDef()
      .pb.Definition def = 2;
      Specified by:
      hasDef in interface Gateway.RefOrBuilder
      Returns:
      Whether the def field is set.
    • getDef

      public Ops.Definition getDef()
      .pb.Definition def = 2;
      Specified by:
      getDef in interface Gateway.RefOrBuilder
      Returns:
      The def.
    • setDef

      public Gateway.Ref.Builder setDef(Ops.Definition value)
      .pb.Definition def = 2;
    • setDef

      public Gateway.Ref.Builder setDef(Ops.Definition.Builder builderForValue)
      .pb.Definition def = 2;
    • mergeDef

      public Gateway.Ref.Builder mergeDef(Ops.Definition value)
      .pb.Definition def = 2;
    • clearDef

      public Gateway.Ref.Builder clearDef()
      .pb.Definition def = 2;
    • getDefBuilder

      public Ops.Definition.Builder getDefBuilder()
      .pb.Definition def = 2;
    • getDefOrBuilder

      public Ops.DefinitionOrBuilder getDefOrBuilder()
      .pb.Definition def = 2;
      Specified by:
      getDefOrBuilder in interface Gateway.RefOrBuilder