Class Caps.APICap.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Caps.APICap.Builder>
com.google.protobuf.GeneratedMessage.Builder<Caps.APICap.Builder>
moby.buildkit.v1.apicaps.Caps.APICap.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Caps.APICapOrBuilder
Enclosing class:
Caps.APICap

public static final class Caps.APICap.Builder extends com.google.protobuf.GeneratedMessage.Builder<Caps.APICap.Builder> implements Caps.APICapOrBuilder
 APICap defines a capability supported by the service
 
Protobuf type moby.buildkit.v1.apicaps.APICap
  • 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<Caps.APICap.Builder>
    • clear

      public Caps.APICap.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<Caps.APICap.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<Caps.APICap.Builder>
    • getDefaultInstanceForType

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

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

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

      public Caps.APICap.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<Caps.APICap.Builder>
    • mergeFrom

      public Caps.APICap.Builder mergeFrom(Caps.APICap other)
    • isInitialized

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

      public Caps.APICap.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<Caps.APICap.Builder>
      Throws:
      IOException
    • getID

      public String getID()
      string ID = 1;
      Specified by:
      getID in interface Caps.APICapOrBuilder
      Returns:
      The iD.
    • getIDBytes

      public com.google.protobuf.ByteString getIDBytes()
      string ID = 1;
      Specified by:
      getIDBytes in interface Caps.APICapOrBuilder
      Returns:
      The bytes for iD.
    • setID

      public Caps.APICap.Builder setID(String value)
      string ID = 1;
      Parameters:
      value - The iD to set.
      Returns:
      This builder for chaining.
    • clearID

      public Caps.APICap.Builder clearID()
      string ID = 1;
      Returns:
      This builder for chaining.
    • setIDBytes

      public Caps.APICap.Builder setIDBytes(com.google.protobuf.ByteString value)
      string ID = 1;
      Parameters:
      value - The bytes for iD to set.
      Returns:
      This builder for chaining.
    • getEnabled

      public boolean getEnabled()
      bool Enabled = 2;
      Specified by:
      getEnabled in interface Caps.APICapOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public Caps.APICap.Builder setEnabled(boolean value)
      bool Enabled = 2;
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

      public Caps.APICap.Builder clearEnabled()
      bool Enabled = 2;
      Returns:
      This builder for chaining.
    • getDeprecated

      public boolean getDeprecated()
       Unused. May be used for warnings in the future
       
      bool Deprecated = 3;
      Specified by:
      getDeprecated in interface Caps.APICapOrBuilder
      Returns:
      The deprecated.
    • setDeprecated

      public Caps.APICap.Builder setDeprecated(boolean value)
       Unused. May be used for warnings in the future
       
      bool Deprecated = 3;
      Parameters:
      value - The deprecated to set.
      Returns:
      This builder for chaining.
    • clearDeprecated

      public Caps.APICap.Builder clearDeprecated()
       Unused. May be used for warnings in the future
       
      bool Deprecated = 3;
      Returns:
      This builder for chaining.
    • getDisabledReason

      public String getDisabledReason()
       Reason key for detection code
       
      string DisabledReason = 4;
      Specified by:
      getDisabledReason in interface Caps.APICapOrBuilder
      Returns:
      The disabledReason.
    • getDisabledReasonBytes

      public com.google.protobuf.ByteString getDisabledReasonBytes()
       Reason key for detection code
       
      string DisabledReason = 4;
      Specified by:
      getDisabledReasonBytes in interface Caps.APICapOrBuilder
      Returns:
      The bytes for disabledReason.
    • setDisabledReason

      public Caps.APICap.Builder setDisabledReason(String value)
       Reason key for detection code
       
      string DisabledReason = 4;
      Parameters:
      value - The disabledReason to set.
      Returns:
      This builder for chaining.
    • clearDisabledReason

      public Caps.APICap.Builder clearDisabledReason()
       Reason key for detection code
       
      string DisabledReason = 4;
      Returns:
      This builder for chaining.
    • setDisabledReasonBytes

      public Caps.APICap.Builder setDisabledReasonBytes(com.google.protobuf.ByteString value)
       Reason key for detection code
       
      string DisabledReason = 4;
      Parameters:
      value - The bytes for disabledReason to set.
      Returns:
      This builder for chaining.
    • getDisabledReasonMsg

      public String getDisabledReasonMsg()
       Message to the user
       
      string DisabledReasonMsg = 5;
      Specified by:
      getDisabledReasonMsg in interface Caps.APICapOrBuilder
      Returns:
      The disabledReasonMsg.
    • getDisabledReasonMsgBytes

      public com.google.protobuf.ByteString getDisabledReasonMsgBytes()
       Message to the user
       
      string DisabledReasonMsg = 5;
      Specified by:
      getDisabledReasonMsgBytes in interface Caps.APICapOrBuilder
      Returns:
      The bytes for disabledReasonMsg.
    • setDisabledReasonMsg

      public Caps.APICap.Builder setDisabledReasonMsg(String value)
       Message to the user
       
      string DisabledReasonMsg = 5;
      Parameters:
      value - The disabledReasonMsg to set.
      Returns:
      This builder for chaining.
    • clearDisabledReasonMsg

      public Caps.APICap.Builder clearDisabledReasonMsg()
       Message to the user
       
      string DisabledReasonMsg = 5;
      Returns:
      This builder for chaining.
    • setDisabledReasonMsgBytes

      public Caps.APICap.Builder setDisabledReasonMsgBytes(com.google.protobuf.ByteString value)
       Message to the user
       
      string DisabledReasonMsg = 5;
      Parameters:
      value - The bytes for disabledReasonMsg to set.
      Returns:
      This builder for chaining.
    • getDisabledAlternative

      public String getDisabledAlternative()
       Identifier that updated client could catch.
       
      string DisabledAlternative = 6;
      Specified by:
      getDisabledAlternative in interface Caps.APICapOrBuilder
      Returns:
      The disabledAlternative.
    • getDisabledAlternativeBytes

      public com.google.protobuf.ByteString getDisabledAlternativeBytes()
       Identifier that updated client could catch.
       
      string DisabledAlternative = 6;
      Specified by:
      getDisabledAlternativeBytes in interface Caps.APICapOrBuilder
      Returns:
      The bytes for disabledAlternative.
    • setDisabledAlternative

      public Caps.APICap.Builder setDisabledAlternative(String value)
       Identifier that updated client could catch.
       
      string DisabledAlternative = 6;
      Parameters:
      value - The disabledAlternative to set.
      Returns:
      This builder for chaining.
    • clearDisabledAlternative

      public Caps.APICap.Builder clearDisabledAlternative()
       Identifier that updated client could catch.
       
      string DisabledAlternative = 6;
      Returns:
      This builder for chaining.
    • setDisabledAlternativeBytes

      public Caps.APICap.Builder setDisabledAlternativeBytes(com.google.protobuf.ByteString value)
       Identifier that updated client could catch.
       
      string DisabledAlternative = 6;
      Parameters:
      value - The bytes for disabledAlternative to set.
      Returns:
      This builder for chaining.