Class ExportSBOMResponse.Builder (2.53.0)

public static final class ExportSBOMResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportSBOMResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ExportSBOMResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportSBOMResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportSBOMResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportSBOMResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportSBOMResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportSBOMResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportSBOMResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportSBOMResponse.Builder
Overrides