Class DiscoveryOccurrence.AnalysisCompleted.Builder (2.36.0)

public static final class DiscoveryOccurrence.AnalysisCompleted.Builder extends GeneratedMessageV3.Builder<DiscoveryOccurrence.AnalysisCompleted.Builder> implements DiscoveryOccurrence.AnalysisCompletedOrBuilder

Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.

Protobuf type grafeas.v1.DiscoveryOccurrence.AnalysisCompleted

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnalysisType(Iterable<String> values)

public DiscoveryOccurrence.AnalysisCompleted.Builder addAllAnalysisType(Iterable<String> values)

repeated string analysis_type = 1;

Parameter
NameDescription
valuesIterable<String>

The analysisType to add.

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addAnalysisType(String value)

public DiscoveryOccurrence.AnalysisCompleted.Builder addAnalysisType(String value)

repeated string analysis_type = 1;

Parameter
NameDescription
valueString

The analysisType to add.

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addAnalysisTypeBytes(ByteString value)

public DiscoveryOccurrence.AnalysisCompleted.Builder addAnalysisTypeBytes(ByteString value)

repeated string analysis_type = 1;

Parameter
NameDescription
valueByteString

The bytes of the analysisType to add.

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryOccurrence.AnalysisCompleted.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

build()

public DiscoveryOccurrence.AnalysisCompleted build()
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted

buildPartial()

public DiscoveryOccurrence.AnalysisCompleted buildPartial()
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted

clear()