Class Gateway.ExitMessage.Builder

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

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

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

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

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

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

    • isInitialized

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

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

      public int getCode()
      uint32 Code = 1;
      Specified by:
      getCode in interface Gateway.ExitMessageOrBuilder
      Returns:
      The code.
    • setCode

      public Gateway.ExitMessage.Builder setCode(int value)
      uint32 Code = 1;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

      public Gateway.ExitMessage.Builder clearCode()
      uint32 Code = 1;
      Returns:
      This builder for chaining.
    • hasError

      public boolean hasError()
      .google.rpc.Status Error = 2;
      Specified by:
      hasError in interface Gateway.ExitMessageOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public Status getError()
      .google.rpc.Status Error = 2;
      Specified by:
      getError in interface Gateway.ExitMessageOrBuilder
      Returns:
      The error.
    • setError

      public Gateway.ExitMessage.Builder setError(Status value)
      .google.rpc.Status Error = 2;
    • setError

      public Gateway.ExitMessage.Builder setError(Status.Builder builderForValue)
      .google.rpc.Status Error = 2;
    • mergeError

      public Gateway.ExitMessage.Builder mergeError(Status value)
      .google.rpc.Status Error = 2;
    • clearError

      public Gateway.ExitMessage.Builder clearError()
      .google.rpc.Status Error = 2;
    • getErrorBuilder

      public Status.Builder getErrorBuilder()
      .google.rpc.Status Error = 2;
    • getErrorOrBuilder

      public StatusOrBuilder getErrorOrBuilder()
      .google.rpc.Status Error = 2;
      Specified by:
      getErrorOrBuilder in interface Gateway.ExitMessageOrBuilder