public final class Discovery extends GeneratedMessageV3 implements DiscoveryOrBuilder
A note that indicates a type of analysis a provider would perform. This note
exists in a provider's project. A Discovery
occurrence is created in a
consumer's project at the start of analysis.
Protobuf type grafeas.v1beta1.discovery.Discovery
Static Fields
ANALYSIS_KIND_FIELD_NUMBER
public static final int ANALYSIS_KIND_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Discovery getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Discovery.Builder newBuilder()
Returns
newBuilder(Discovery prototype)
public static Discovery.Builder newBuilder(Discovery prototype)
Parameter
Returns
public static Discovery parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Discovery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Discovery parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Discovery parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Discovery parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Discovery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Discovery parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Discovery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Discovery parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Discovery> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnalysisKind()
public NoteKind getAnalysisKind()
Required. Immutable. The kind of analysis that is handled by this
discovery.
.grafeas.v1beta1.NoteKind analysis_kind = 1;
Returns
Type | Description |
NoteKind | The analysisKind.
|
getAnalysisKindValue()
public int getAnalysisKindValue()
Required. Immutable. The kind of analysis that is handled by this
discovery.
.grafeas.v1beta1.NoteKind analysis_kind = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for analysisKind.
|
getDefaultInstanceForType()
public Discovery getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Discovery> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Discovery.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Discovery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Discovery.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions