Class Build.License.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Build.License.Builder>
com.google.devtools.build.lib.query2.proto.proto2api.Build.License.Builder
All Implemented Interfaces:
Build.LicenseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Build.License

public static final class Build.License.Builder extends com.google.protobuf.GeneratedMessage.Builder<Build.License.Builder> implements Build.LicenseOrBuilder
Protobuf type blaze_query.License
  • 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<Build.License.Builder>
    • clear

      public Build.License.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<Build.License.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<Build.License.Builder>
    • getDefaultInstanceForType

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

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

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

      public Build.License.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<Build.License.Builder>
    • mergeFrom

      public Build.License.Builder mergeFrom(Build.License other)
    • isInitialized

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

      public Build.License.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<Build.License.Builder>
      Throws:
      IOException
    • getLicenseTypeList

      public com.google.protobuf.ProtocolStringList getLicenseTypeList()
      repeated string license_type = 1;
      Specified by:
      getLicenseTypeList in interface Build.LicenseOrBuilder
      Returns:
      A list containing the licenseType.
    • getLicenseTypeCount

      public int getLicenseTypeCount()
      repeated string license_type = 1;
      Specified by:
      getLicenseTypeCount in interface Build.LicenseOrBuilder
      Returns:
      The count of licenseType.
    • getLicenseType

      public String getLicenseType(int index)
      repeated string license_type = 1;
      Specified by:
      getLicenseType in interface Build.LicenseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The licenseType at the given index.
    • getLicenseTypeBytes

      public com.google.protobuf.ByteString getLicenseTypeBytes(int index)
      repeated string license_type = 1;
      Specified by:
      getLicenseTypeBytes in interface Build.LicenseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the licenseType at the given index.
    • setLicenseType

      public Build.License.Builder setLicenseType(int index, String value)
      repeated string license_type = 1;
      Parameters:
      index - The index to set the value at.
      value - The licenseType to set.
      Returns:
      This builder for chaining.
    • addLicenseType

      public Build.License.Builder addLicenseType(String value)
      repeated string license_type = 1;
      Parameters:
      value - The licenseType to add.
      Returns:
      This builder for chaining.
    • addAllLicenseType

      public Build.License.Builder addAllLicenseType(Iterable<String> values)
      repeated string license_type = 1;
      Parameters:
      values - The licenseType to add.
      Returns:
      This builder for chaining.
    • clearLicenseType

      public Build.License.Builder clearLicenseType()
      repeated string license_type = 1;
      Returns:
      This builder for chaining.
    • addLicenseTypeBytes

      public Build.License.Builder addLicenseTypeBytes(com.google.protobuf.ByteString value)
      repeated string license_type = 1;
      Parameters:
      value - The bytes of the licenseType to add.
      Returns:
      This builder for chaining.
    • getExceptionList

      public com.google.protobuf.ProtocolStringList getExceptionList()
      repeated string exception = 2;
      Specified by:
      getExceptionList in interface Build.LicenseOrBuilder
      Returns:
      A list containing the exception.
    • getExceptionCount

      public int getExceptionCount()
      repeated string exception = 2;
      Specified by:
      getExceptionCount in interface Build.LicenseOrBuilder
      Returns:
      The count of exception.
    • getException

      public String getException(int index)
      repeated string exception = 2;
      Specified by:
      getException in interface Build.LicenseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The exception at the given index.
    • getExceptionBytes

      public com.google.protobuf.ByteString getExceptionBytes(int index)
      repeated string exception = 2;
      Specified by:
      getExceptionBytes in interface Build.LicenseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the exception at the given index.
    • setException

      public Build.License.Builder setException(int index, String value)
      repeated string exception = 2;
      Parameters:
      index - The index to set the value at.
      value - The exception to set.
      Returns:
      This builder for chaining.
    • addException

      public Build.License.Builder addException(String value)
      repeated string exception = 2;
      Parameters:
      value - The exception to add.
      Returns:
      This builder for chaining.
    • addAllException

      public Build.License.Builder addAllException(Iterable<String> values)
      repeated string exception = 2;
      Parameters:
      values - The exception to add.
      Returns:
      This builder for chaining.
    • clearException

      public Build.License.Builder clearException()
      repeated string exception = 2;
      Returns:
      This builder for chaining.
    • addExceptionBytes

      public Build.License.Builder addExceptionBytes(com.google.protobuf.ByteString value)
      repeated string exception = 2;
      Parameters:
      value - The bytes of the exception to add.
      Returns:
      This builder for chaining.