Class ExportSBOMResponse.Builder (2.84.0)

public static final class ExportSBOMResponse.Builder extends GeneratedMessage.Builder<ExportSBOMResponse.Builder> implements ExportSBOMResponseOrBuilder

The response from a call to ExportSBOM.

Protobuf type google.devtools.containeranalysis.v1.ExportSBOMResponse

Static Methods

getDescriptor()

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

Methods

build()

public ExportSBOMResponse build()
Returns
Type Description
ExportSBOMResponse

buildPartial()

public ExportSBOMResponse buildPartial()
Returns
Type Description
ExportSBOMResponse

clear()

public ExportSBOMResponse.Builder clear()
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

clearDiscoveryOccurrence()

public ExportSBOMResponse.Builder clearDiscoveryOccurrence()

The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.

string discovery_occurrence = 1;

Returns
Type Description
ExportSBOMResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportSBOMResponse getDefaultInstanceForType()
Returns
Type Description
ExportSBOMResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiscoveryOccurrence()

public String getDiscoveryOccurrence()

The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.

string discovery_occurrence = 1;

Returns
Type Description
String

The discoveryOccurrence.

getDiscoveryOccurrenceBytes()

public ByteString getDiscoveryOccurrenceBytes()

The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.

string discovery_occurrence = 1;

Returns
Type Description
ByteString

The bytes for discoveryOccurrence.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportSBOMResponse other)

public ExportSBOMResponse.Builder mergeFrom(ExportSBOMResponse other)
Parameter
Name Description
other ExportSBOMResponse
Returns
Type Description
ExportSBOMResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportSBOMResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportSBOMResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportSBOMResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

setDiscoveryOccurrence(String value)

public ExportSBOMResponse.Builder setDiscoveryOccurrence(String value)

The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.

string discovery_occurrence = 1;

Parameter
Name Description
value String

The discoveryOccurrence to set.

Returns
Type Description
ExportSBOMResponse.Builder

This builder for chaining.

setDiscoveryOccurrenceBytes(ByteString value)

public ExportSBOMResponse.Builder setDiscoveryOccurrenceBytes(ByteString value)

The name of the discovery occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.

string discovery_occurrence = 1;

Parameter
Name Description
value ByteString

The bytes for discoveryOccurrence to set.

Returns
Type Description
ExportSBOMResponse.Builder

This builder for chaining.