Class DiscoveryOccurrence.AnalysisCompleted.Builder (2.19.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()

public DiscoveryOccurrence.AnalysisCompleted.Builder clear()
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

clearAnalysisType()

public DiscoveryOccurrence.AnalysisCompleted.Builder clearAnalysisType()

repeated string analysis_type = 1;

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DiscoveryOccurrence.AnalysisCompleted.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryOccurrence.AnalysisCompleted.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

clone()

public DiscoveryOccurrence.AnalysisCompleted.Builder clone()
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

getAnalysisType(int index)

public String getAnalysisType(int index)

repeated string analysis_type = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The analysisType at the given index.

getAnalysisTypeBytes(int index)

public ByteString getAnalysisTypeBytes(int index)

repeated string analysis_type = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the analysisType at the given index.

getAnalysisTypeCount()

public int getAnalysisTypeCount()

repeated string analysis_type = 1;

Returns
TypeDescription
int

The count of analysisType.

getAnalysisTypeList()

public ProtocolStringList getAnalysisTypeList()

repeated string analysis_type = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the analysisType.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryOccurrence.AnalysisCompleted.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryOccurrence.AnalysisCompleted.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

mergeFrom(DiscoveryOccurrence.AnalysisCompleted other)

public DiscoveryOccurrence.AnalysisCompleted.Builder mergeFrom(DiscoveryOccurrence.AnalysisCompleted other)
Parameter
NameDescription
otherDiscoveryOccurrence.AnalysisCompleted
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryOccurrence.AnalysisCompleted.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

setAnalysisType(int index, String value)

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

repeated string analysis_type = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The analysisType to set.

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryOccurrence.AnalysisCompleted.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryOccurrence.AnalysisCompleted.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder
Overrides