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.v1beta1.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

clearDiscoveryOccurrenceId()

public ExportSBOMResponse.Builder clearDiscoveryOccurrenceId()

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

string discovery_occurrence_id = 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

getDiscoveryOccurrenceId()

public String getDiscoveryOccurrenceId()

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

string discovery_occurrence_id = 1;

Returns
Type Description
String

The discoveryOccurrenceId.

getDiscoveryOccurrenceIdBytes()

public ByteString getDiscoveryOccurrenceIdBytes()

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

string discovery_occurrence_id = 1;

Returns
Type Description
ByteString

The bytes for discoveryOccurrenceId.

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

setDiscoveryOccurrenceId(String value)

public ExportSBOMResponse.Builder setDiscoveryOccurrenceId(String value)

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

string discovery_occurrence_id = 1;

Parameter
Name Description
value String

The discoveryOccurrenceId to set.

Returns
Type Description
ExportSBOMResponse.Builder

This builder for chaining.

setDiscoveryOccurrenceIdBytes(ByteString value)

public ExportSBOMResponse.Builder setDiscoveryOccurrenceIdBytes(ByteString value)

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

string discovery_occurrence_id = 1;

Parameter
Name Description
value ByteString

The bytes for discoveryOccurrenceId to set.

Returns
Type Description
ExportSBOMResponse.Builder

This builder for chaining.