Class DiscoveryOccurrence.AnalysisCompleted.Builder (2.50.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
Type Description
Descriptor

Methods

addAllAnalysisType(Iterable<String> values)

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

repeated string analysis_type = 1;

Parameter
Name Description
values Iterable<String>

The analysisType to add.

Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addAnalysisType(String value)

public DiscoveryOccurrence.AnalysisCompleted.Builder addAnalysisType(String value)

repeated string analysis_type = 1;

Parameter
Name Description
value String

The analysisType to add.

Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addAnalysisTypeBytes(ByteString value)

public DiscoveryOccurrence.AnalysisCompleted.Builder addAnalysisTypeBytes(ByteString value)

repeated string analysis_type = 1;

Parameter
Name Description
value ByteString

The bytes of the analysisType to add.

Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryOccurrence.AnalysisCompleted build()
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted

buildPartial()

public DiscoveryOccurrence.AnalysisCompleted buildPartial()
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted

clear()

public DiscoveryOccurrence.AnalysisCompleted.Builder clear()
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

clearAnalysisType()

public DiscoveryOccurrence.AnalysisCompleted.Builder clearAnalysisType()

repeated string analysis_type = 1;

Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DiscoveryOccurrence.AnalysisCompleted.Builder clone()
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

getAnalysisType(int index)

public String getAnalysisType(int index)

repeated string analysis_type = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The analysisType at the given index.

getAnalysisTypeBytes(int index)

public ByteString getAnalysisTypeBytes(int index)

repeated string analysis_type = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the analysisType at the given index.

getAnalysisTypeCount()

public int getAnalysisTypeCount()

repeated string analysis_type = 1;

Returns
Type Description
int

The count of analysisType.

getAnalysisTypeList()

public ProtocolStringList getAnalysisTypeList()

repeated string analysis_type = 1;

Returns
Type Description
ProtocolStringList

A list containing the analysisType.

getDefaultInstanceForType()

public DiscoveryOccurrence.AnalysisCompleted getDefaultInstanceForType()
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DiscoveryOccurrence.AnalysisCompleted other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryOccurrence.AnalysisCompleted.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

setAnalysisType(int index, String value)

public DiscoveryOccurrence.AnalysisCompleted.Builder setAnalysisType(int index, String value)

repeated string analysis_type = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The analysisType to set.

Returns
Type Description
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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