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 Summary
Modifier and TypeMethodDescriptionaddAllException(Iterable<String> values) repeated string exception = 2;addAllLicenseType(Iterable<String> values) repeated string license_type = 1;addException(String value) repeated string exception = 2;addExceptionBytes(com.google.protobuf.ByteString value) repeated string exception = 2;addLicenseType(String value) repeated string license_type = 1;addLicenseTypeBytes(com.google.protobuf.ByteString value) repeated string license_type = 1;build()clear()repeated string exception = 2;repeated string license_type = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetException(int index) repeated string exception = 2;com.google.protobuf.ByteStringgetExceptionBytes(int index) repeated string exception = 2;intrepeated string exception = 2;com.google.protobuf.ProtocolStringListrepeated string exception = 2;getLicenseType(int index) repeated string license_type = 1;com.google.protobuf.ByteStringgetLicenseTypeBytes(int index) repeated string license_type = 1;intrepeated string license_type = 1;com.google.protobuf.ProtocolStringListrepeated string license_type = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Build.License other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setException(int index, String value) repeated string exception = 2;setLicenseType(int index, String value) repeated string license_type = 1;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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Build.License.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Build.License.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Build.License.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.License.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Build.License.Builder>- Throws:
IOException
-
getLicenseTypeList
public com.google.protobuf.ProtocolStringList getLicenseTypeList()repeated string license_type = 1;- Specified by:
getLicenseTypeListin interfaceBuild.LicenseOrBuilder- Returns:
- A list containing the licenseType.
-
getLicenseTypeCount
public int getLicenseTypeCount()repeated string license_type = 1;- Specified by:
getLicenseTypeCountin interfaceBuild.LicenseOrBuilder- Returns:
- The count of licenseType.
-
getLicenseType
repeated string license_type = 1;- Specified by:
getLicenseTypein interfaceBuild.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:
getLicenseTypeBytesin interfaceBuild.LicenseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the licenseType at the given index.
-
setLicenseType
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
repeated string license_type = 1;- Parameters:
value- The licenseType to add.- Returns:
- This builder for chaining.
-
addAllLicenseType
repeated string license_type = 1;- Parameters:
values- The licenseType to add.- Returns:
- This builder for chaining.
-
clearLicenseType
repeated string license_type = 1;- Returns:
- This builder for chaining.
-
addLicenseTypeBytes
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:
getExceptionListin interfaceBuild.LicenseOrBuilder- Returns:
- A list containing the exception.
-
getExceptionCount
public int getExceptionCount()repeated string exception = 2;- Specified by:
getExceptionCountin interfaceBuild.LicenseOrBuilder- Returns:
- The count of exception.
-
getException
repeated string exception = 2;- Specified by:
getExceptionin interfaceBuild.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:
getExceptionBytesin interfaceBuild.LicenseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exception at the given index.
-
setException
repeated string exception = 2;- Parameters:
index- The index to set the value at.value- The exception to set.- Returns:
- This builder for chaining.
-
addException
repeated string exception = 2;- Parameters:
value- The exception to add.- Returns:
- This builder for chaining.
-
addAllException
repeated string exception = 2;- Parameters:
values- The exception to add.- Returns:
- This builder for chaining.
-
clearException
repeated string exception = 2;- Returns:
- This builder for chaining.
-
addExceptionBytes
repeated string exception = 2;- Parameters:
value- The bytes of the exception to add.- Returns:
- This builder for chaining.
-