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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ANALYSIS_KIND_FIELD_NUMBER
public static final int ANALYSIS_KIND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Discovery getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Discovery.Builder newBuilder()
newBuilder(Discovery prototype)
public static Discovery.Builder newBuilder(Discovery prototype)
public static Discovery parseDelimitedFrom(InputStream input)
public static Discovery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Discovery parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Discovery parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(CodedInputStream input)
public static Discovery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(InputStream input)
public static Discovery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Discovery parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Discovery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Discovery> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<Discovery> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Discovery.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Discovery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Discovery.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides