Class PackagesSummaryResponse (2.56.0)

public final class PackagesSummaryResponse extends GeneratedMessageV3 implements PackagesSummaryResponseOrBuilder

A summary of the packages found within the given resource.

Protobuf type google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse

Static Fields

LICENSES_SUMMARY_FIELD_NUMBER

public static final int LICENSES_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_URL_FIELD_NUMBER

public static final int RESOURCE_URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PackagesSummaryResponse getDefaultInstance()
Returns
Type Description
PackagesSummaryResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PackagesSummaryResponse.Builder newBuilder()
Returns
Type Description
PackagesSummaryResponse.Builder

newBuilder(PackagesSummaryResponse prototype)

public static PackagesSummaryResponse.Builder newBuilder(PackagesSummaryResponse prototype)
Parameter
Name Description
prototype PackagesSummaryResponse
Returns
Type Description
PackagesSummaryResponse.Builder

parseDelimitedFrom(InputStream input)

public static PackagesSummaryResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PackagesSummaryResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PackagesSummaryResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PackagesSummaryResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PackagesSummaryResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PackagesSummaryResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PackagesSummaryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PackagesSummaryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PackagesSummaryResponse> parser()
Returns
Type Description
Parser<PackagesSummaryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PackagesSummaryResponse getDefaultInstanceForType()
Returns
Type Description
PackagesSummaryResponse

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
Returns
Type Description
PackagesSummaryResponse.LicensesSummary

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;

Returns
Type Description
List<LicensesSummary>

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
Returns
Type Description
PackagesSummaryResponse.LicensesSummaryOrBuilder

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>

getParserForType()

public Parser<PackagesSummaryResponse> getParserForType()
Returns
Type Description
Parser<PackagesSummaryResponse>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PackagesSummaryResponse.Builder newBuilderForType()
Returns
Type Description
PackagesSummaryResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PackagesSummaryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PackagesSummaryResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PackagesSummaryResponse.Builder toBuilder()
Returns
Type Description
PackagesSummaryResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException