Class Gateway.FdMessage.Builder

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

public static final class Gateway.FdMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<Gateway.FdMessage.Builder> implements Gateway.FdMessageOrBuilder
Protobuf type moby.buildkit.v1.frontend.FdMessage
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    bytes Data = 3;
    true if eof was reached
    what fd the data was from
    com.google.protobuf.ByteString
    bytes Data = 3;
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    boolean
    true if eof was reached
    int
    what fd the data was from
    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)
     
     
    setData(com.google.protobuf.ByteString value)
    bytes Data = 3;
    setEOF(boolean value)
    true if eof was reached
    setFd(int value)
    what fd the data was from

    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 class com.google.protobuf.GeneratedMessage.Builder<Gateway.FdMessage.Builder>
    • clear

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

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

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

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

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

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

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

      public int getFd()
       what fd the data was from
       
      uint32 Fd = 1;
      Specified by:
      getFd in interface Gateway.FdMessageOrBuilder
      Returns:
      The fd.
    • setFd

      public Gateway.FdMessage.Builder setFd(int value)
       what fd the data was from
       
      uint32 Fd = 1;
      Parameters:
      value - The fd to set.
      Returns:
      This builder for chaining.
    • clearFd

      public Gateway.FdMessage.Builder clearFd()
       what fd the data was from
       
      uint32 Fd = 1;
      Returns:
      This builder for chaining.
    • getEOF

      public boolean getEOF()
       true if eof was reached
       
      bool EOF = 2;
      Specified by:
      getEOF in interface Gateway.FdMessageOrBuilder
      Returns:
      The eOF.
    • setEOF

      public Gateway.FdMessage.Builder setEOF(boolean value)
       true if eof was reached
       
      bool EOF = 2;
      Parameters:
      value - The eOF to set.
      Returns:
      This builder for chaining.
    • clearEOF

      public Gateway.FdMessage.Builder clearEOF()
       true if eof was reached
       
      bool EOF = 2;
      Returns:
      This builder for chaining.
    • getData

      public com.google.protobuf.ByteString getData()
      bytes Data = 3;
      Specified by:
      getData in interface Gateway.FdMessageOrBuilder
      Returns:
      The data.
    • setData

      public Gateway.FdMessage.Builder setData(com.google.protobuf.ByteString value)
      bytes Data = 3;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public Gateway.FdMessage.Builder clearData()
      bytes Data = 3;
      Returns:
      This builder for chaining.