public static final class PackagesSummaryResponse.Builder extends GeneratedMessageV3.Builder<PackagesSummaryResponse.Builder> implements PackagesSummaryResponseOrBuilder
A summary of the packages found within the given resource.
Protobuf type google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllLicensesSummary(Iterable<? extends PackagesSummaryResponse.LicensesSummary> values)
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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary>
|
addLicensesSummary(PackagesSummaryResponse.LicensesSummary value)
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(PackagesSummaryResponse.LicensesSummary.Builder builderForValue)
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(int index, PackagesSummaryResponse.LicensesSummary value)
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(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue)
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;
addLicensesSummaryBuilder()
public PackagesSummaryResponse.LicensesSummary.Builder 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(int index)
public PackagesSummaryResponse.LicensesSummary.Builder addLicensesSummaryBuilder(int index)
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PackagesSummaryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PackagesSummaryResponse build()
buildPartial()
public PackagesSummaryResponse buildPartial()
clear()
public PackagesSummaryResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PackagesSummaryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLicensesSummary()
public PackagesSummaryResponse.Builder clearLicensesSummary()
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public PackagesSummaryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourceUrl()
public PackagesSummaryResponse.Builder clearResourceUrl()
The unique URL of the image or the container for which this summary
applies.
string resource_url = 1;
clone()
public PackagesSummaryResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public PackagesSummaryResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLicensesSummary(int index)
public PackagesSummaryResponse.LicensesSummary getLicensesSummary(int index)
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
Parameter |
Name |
Description |
index |
int
|
getLicensesSummaryBuilder(int index)
public PackagesSummaryResponse.LicensesSummary.Builder getLicensesSummaryBuilder(int index)
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
Parameter |
Name |
Description |
index |
int
|
getLicensesSummaryBuilderList()
public List<PackagesSummaryResponse.LicensesSummary.Builder> getLicensesSummaryBuilderList()
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
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;
Returns |
Type |
Description |
int |
|
getLicensesSummaryList()
public List<PackagesSummaryResponse.LicensesSummary> getLicensesSummaryList()
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
getLicensesSummaryOrBuilder(int index)
public PackagesSummaryResponse.LicensesSummaryOrBuilder getLicensesSummaryOrBuilder(int index)
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
List<? extends com.google.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummaryOrBuilder> |
|
getResourceUrl()
public String getResourceUrl()
The unique URL of the image or the container for which this summary
applies.
string resource_url = 1;
Returns |
Type |
Description |
String |
The resourceUrl.
|
getResourceUrlBytes()
public ByteString getResourceUrlBytes()
The unique URL of the image or the container for which this summary
applies.
string resource_url = 1;
Returns |
Type |
Description |
ByteString |
The bytes for resourceUrl.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PackagesSummaryResponse other)
public PackagesSummaryResponse.Builder mergeFrom(PackagesSummaryResponse other)
public PackagesSummaryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PackagesSummaryResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PackagesSummaryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeLicensesSummary(int index)
public PackagesSummaryResponse.Builder removeLicensesSummary(int index)
A listing by license name of each of the licenses and their counts.
repeated .google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse.LicensesSummary licenses_summary = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PackagesSummaryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLicensesSummary(int index, PackagesSummaryResponse.LicensesSummary value)
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(int index, PackagesSummaryResponse.LicensesSummary.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PackagesSummaryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResourceUrl(String value)
public PackagesSummaryResponse.Builder setResourceUrl(String value)
The unique URL of the image or the container for which this summary
applies.
string resource_url = 1;
Parameter |
Name |
Description |
value |
String
The resourceUrl to set.
|
setResourceUrlBytes(ByteString value)
public PackagesSummaryResponse.Builder setResourceUrlBytes(ByteString value)
The unique URL of the image or the container for which this summary
applies.
string resource_url = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for resourceUrl to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PackagesSummaryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides