Class PackagesSummaryResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PackagesSummaryResponse.Builder>
com.google.containeranalysis.v1beta1.PackagesSummaryResponse.Builder
- All Implemented Interfaces:
PackagesSummaryResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PackagesSummaryResponse
public static final class PackagesSummaryResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PackagesSummaryResponse.Builder>
implements PackagesSummaryResponseOrBuilder
A summary of the packages found within the given resource.Protobuf type
google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllLicensesSummary(Iterable<? extends PackagesSummaryResponse.LicensesSummary> values) A listing by license name of each of the licenses and their counts.addLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary value) A listing by license name of each of the licenses and their counts.addLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.A listing by license name of each of the licenses and their counts.addLicensesSummary(PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.A listing by license name of each of the licenses and their counts.addLicensesSummaryBuilder(int index) A listing by license name of each of the licenses and their counts.build()clear()A listing by license name of each of the licenses and their counts.The unique URL of the image or the container for which this summary applies.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLicensesSummary(int index) A listing by license name of each of the licenses and their counts.getLicensesSummaryBuilder(int index) A listing by license name of each of the licenses and their counts.A listing by license name of each of the licenses and their counts.intA listing by license name of each of the licenses and their counts.A listing by license name of each of the licenses and their counts.getLicensesSummaryOrBuilder(int index) A listing by license name of each of the licenses and their counts.A listing by license name of each of the licenses and their counts.The unique URL of the image or the container for which this summary applies.com.google.protobuf.ByteStringThe unique URL of the image or the container for which this summary applies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PackagesSummaryResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLicensesSummary(int index) A listing by license name of each of the licenses and their counts.setLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary value) A listing by license name of each of the licenses and their counts.setLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.setResourceUrl(String value) The unique URL of the image or the container for which this summary applies.setResourceUrlBytes(com.google.protobuf.ByteString value) The unique URL of the image or the container for which this summary applies.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<PackagesSummaryResponse.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<PackagesSummaryResponse.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<PackagesSummaryResponse.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<PackagesSummaryResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PackagesSummaryResponse.Builder>
-
mergeFrom
public PackagesSummaryResponse.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<PackagesSummaryResponse.Builder>- Throws:
IOException
-
getResourceUrl
The unique URL of the image or the container for which this summary applies.
string resource_url = 1;- Specified by:
getResourceUrlin interfacePackagesSummaryResponseOrBuilder- Returns:
- The resourceUrl.
-
getResourceUrlBytes
public com.google.protobuf.ByteString getResourceUrlBytes()The unique URL of the image or the container for which this summary applies.
string resource_url = 1;- Specified by:
getResourceUrlBytesin interfacePackagesSummaryResponseOrBuilder- Returns:
- The bytes for resourceUrl.
-
setResourceUrl
The unique URL of the image or the container for which this summary applies.
string resource_url = 1;- Parameters:
value- The resourceUrl to set.- Returns:
- This builder for chaining.
-
clearResourceUrl
The unique URL of the image or the container for which this summary applies.
string resource_url = 1;- Returns:
- This builder for chaining.
-
setResourceUrlBytes
The unique URL of the image or the container for which this summary applies.
string resource_url = 1;- Parameters:
value- The bytes for resourceUrl to set.- Returns:
- This builder for chaining.
-
getLicensesSummaryList
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;- Specified by:
getLicensesSummaryListin interfacePackagesSummaryResponseOrBuilder
-
getLicensesSummaryCount
public int getLicensesSummaryCount()A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;- Specified by:
getLicensesSummaryCountin interfacePackagesSummaryResponseOrBuilder
-
getLicensesSummary
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;- Specified by:
getLicensesSummaryin interfacePackagesSummaryResponseOrBuilder
-
setLicensesSummary
public PackagesSummaryResponse.Builder setLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary value) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
setLicensesSummary
public PackagesSummaryResponse.Builder setLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addLicensesSummary
public PackagesSummaryResponse.Builder addLicensesSummary(PackagesSummaryResponse.LicensesSummary value) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addLicensesSummary
public PackagesSummaryResponse.Builder addLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary value) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addLicensesSummary
public PackagesSummaryResponse.Builder addLicensesSummary(PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addLicensesSummary
public PackagesSummaryResponse.Builder addLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addAllLicensesSummary
public PackagesSummaryResponse.Builder addAllLicensesSummary(Iterable<? extends PackagesSummaryResponse.LicensesSummary> values) A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
clearLicensesSummary
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
removeLicensesSummary
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
getLicensesSummaryBuilder
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
getLicensesSummaryOrBuilder
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;- Specified by:
getLicensesSummaryOrBuilderin interfacePackagesSummaryResponseOrBuilder
-
getLicensesSummaryOrBuilderList
public List<? extends PackagesSummaryResponse.LicensesSummaryOrBuilder> getLicensesSummaryOrBuilderList()A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;- Specified by:
getLicensesSummaryOrBuilderListin interfacePackagesSummaryResponseOrBuilder
-
addLicensesSummaryBuilder
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
addLicensesSummaryBuilder
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2; -
getLicensesSummaryBuilderList
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
-