Package io.grafeas.v1beta1
Class Occurrence
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grafeas.v1beta1.Occurrence
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OccurrenceOrBuilder,Serializable
public final class Occurrence extends com.google.protobuf.GeneratedMessageV3 implements OccurrenceOrBuilder
An instance of an analysis type that has been found on a resource.
Protobuf typegrafeas.v1beta1.Occurrence- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOccurrence.BuilderAn instance of an analysis type that has been found on a resource.static classOccurrence.DetailsCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intATTESTATION_FIELD_NUMBERstatic intBUILD_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDEPLOYMENT_FIELD_NUMBERstatic intDERIVED_IMAGE_FIELD_NUMBERstatic intDISCOVERED_FIELD_NUMBERstatic intINSTALLATION_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNOTE_NAME_FIELD_NUMBERstatic intREMEDIATION_FIELD_NUMBERstatic intRESOURCE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVULNERABILITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DetailsgetAttestation()Describes an attestation of an artifact.DetailsOrBuildergetAttestationOrBuilder()Describes an attestation of an artifact.DetailsgetBuild()Describes a verifiable build.DetailsOrBuildergetBuildOrBuilder()Describes a verifiable build.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static OccurrencegetDefaultInstance()OccurrencegetDefaultInstanceForType()DetailsgetDeployment()Describes the deployment of an artifact on a runtime.DetailsOrBuildergetDeploymentOrBuilder()Describes the deployment of an artifact on a runtime.DetailsgetDerivedImage()Describes how this resource derives from the basis in the associated note.DetailsOrBuildergetDerivedImageOrBuilder()Describes how this resource derives from the basis in the associated note.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Occurrence.DetailsCasegetDetailsCase()DetailsgetDiscovered()Describes when a resource was discovered.DetailsOrBuildergetDiscoveredOrBuilder()Describes when a resource was discovered.DetailsgetInstallation()Describes the installation of a package on the linked resource.DetailsOrBuildergetInstallationOrBuilder()Describes the installation of a package on the linked resource.NoteKindgetKind()Output only.intgetKindValue()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNoteName()Required.com.google.protobuf.ByteStringgetNoteNameBytes()Required.com.google.protobuf.Parser<Occurrence>getParserForType()StringgetRemediation()A description of actions that can be taken to remedy the note.com.google.protobuf.ByteStringgetRemediationBytes()A description of actions that can be taken to remedy the note.ResourcegetResource()Required.ResourceOrBuildergetResourceOrBuilder()Required.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.DetailsgetVulnerability()Describes a security vulnerability.DetailsOrBuildergetVulnerabilityOrBuilder()Describes a security vulnerability.booleanhasAttestation()Describes an attestation of an artifact.booleanhasBuild()Describes a verifiable build.booleanhasCreateTime()Output only.booleanhasDeployment()Describes the deployment of an artifact on a runtime.booleanhasDerivedImage()Describes how this resource derives from the basis in the associated note.booleanhasDiscovered()Describes when a resource was discovered.inthashCode()booleanhasInstallation()Describes the installation of a package on the linked resource.booleanhasResource()Required.booleanhasUpdateTime()Output only.booleanhasVulnerability()Describes a security vulnerability.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Occurrence.BuildernewBuilder()static Occurrence.BuildernewBuilder(Occurrence prototype)Occurrence.BuildernewBuilderForType()protected Occurrence.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OccurrenceparseDelimitedFrom(InputStream input)static OccurrenceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OccurrenceparseFrom(byte[] data)static OccurrenceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OccurrenceparseFrom(com.google.protobuf.ByteString data)static OccurrenceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OccurrenceparseFrom(com.google.protobuf.CodedInputStream input)static OccurrenceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OccurrenceparseFrom(InputStream input)static OccurrenceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OccurrenceparseFrom(ByteBuffer data)static OccurrenceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Occurrence>parser()Occurrence.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTE_NAME_FIELD_NUMBER
public static final int NOTE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMEDIATION_FIELD_NUMBER
public static final int REMEDIATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VULNERABILITY_FIELD_NUMBER
public static final int VULNERABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DERIVED_IMAGE_FIELD_NUMBER
public static final int DERIVED_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTALLATION_FIELD_NUMBER
public static final int INSTALLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISCOVERED_FIELD_NUMBER
public static final int DISCOVERED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTESTATION_FIELD_NUMBER
public static final int ATTESTATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public Occurrence.DetailsCase getDetailsCase()
- Specified by:
getDetailsCasein interfaceOccurrenceOrBuilder
-
getName
public String getName()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Specified by:
getNamein interfaceOccurrenceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Specified by:
getNameBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for name.
-
hasResource
public boolean hasResource()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
hasResourcein interfaceOccurrenceOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
public Resource getResource()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
getResourcein interfaceOccurrenceOrBuilder- Returns:
- The resource.
-
getResourceOrBuilder
public ResourceOrBuilder getResourceOrBuilder()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
getResourceOrBuilderin interfaceOccurrenceOrBuilder
-
getNoteName
public String getNoteName()
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Specified by:
getNoteNamein interfaceOccurrenceOrBuilder- Returns:
- The noteName.
-
getNoteNameBytes
public com.google.protobuf.ByteString getNoteNameBytes()
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Specified by:
getNoteNameBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for noteName.
-
getKindValue
public int getKindValue()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Specified by:
getKindValuein interfaceOccurrenceOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
getKind
public NoteKind getKind()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Specified by:
getKindin interfaceOccurrenceOrBuilder- Returns:
- The kind.
-
getRemediation
public String getRemediation()
A description of actions that can be taken to remedy the note.
string remediation = 5;- Specified by:
getRemediationin interfaceOccurrenceOrBuilder- Returns:
- The remediation.
-
getRemediationBytes
public com.google.protobuf.ByteString getRemediationBytes()
A description of actions that can be taken to remedy the note.
string remediation = 5;- Specified by:
getRemediationBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for remediation.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceOccurrenceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceOccurrenceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceOccurrenceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
hasUpdateTimein interfaceOccurrenceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimein interfaceOccurrenceOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimeOrBuilderin interfaceOccurrenceOrBuilder
-
hasVulnerability
public boolean hasVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
hasVulnerabilityin interfaceOccurrenceOrBuilder- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
public Details getVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
getVulnerabilityin interfaceOccurrenceOrBuilder- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
public DetailsOrBuilder getVulnerabilityOrBuilder()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
getVulnerabilityOrBuilderin interfaceOccurrenceOrBuilder
-
hasBuild
public boolean hasBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
hasBuildin interfaceOccurrenceOrBuilder- Returns:
- Whether the build field is set.
-
getBuild
public Details getBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
getBuildin interfaceOccurrenceOrBuilder- Returns:
- The build.
-
getBuildOrBuilder
public DetailsOrBuilder getBuildOrBuilder()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
getBuildOrBuilderin interfaceOccurrenceOrBuilder
-
hasDerivedImage
public boolean hasDerivedImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
hasDerivedImagein interfaceOccurrenceOrBuilder- Returns:
- Whether the derivedImage field is set.
-
getDerivedImage
public Details getDerivedImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
getDerivedImagein interfaceOccurrenceOrBuilder- Returns:
- The derivedImage.
-
getDerivedImageOrBuilder
public DetailsOrBuilder getDerivedImageOrBuilder()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
getDerivedImageOrBuilderin interfaceOccurrenceOrBuilder
-
hasInstallation
public boolean hasInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
hasInstallationin interfaceOccurrenceOrBuilder- Returns:
- Whether the installation field is set.
-
getInstallation
public Details getInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
getInstallationin interfaceOccurrenceOrBuilder- Returns:
- The installation.
-
getInstallationOrBuilder
public DetailsOrBuilder getInstallationOrBuilder()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
getInstallationOrBuilderin interfaceOccurrenceOrBuilder
-
hasDeployment
public boolean hasDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
hasDeploymentin interfaceOccurrenceOrBuilder- Returns:
- Whether the deployment field is set.
-
getDeployment
public Details getDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
getDeploymentin interfaceOccurrenceOrBuilder- Returns:
- The deployment.
-
getDeploymentOrBuilder
public DetailsOrBuilder getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
getDeploymentOrBuilderin interfaceOccurrenceOrBuilder
-
hasDiscovered
public boolean hasDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
hasDiscoveredin interfaceOccurrenceOrBuilder- Returns:
- Whether the discovered field is set.
-
getDiscovered
public Details getDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
getDiscoveredin interfaceOccurrenceOrBuilder- Returns:
- The discovered.
-
getDiscoveredOrBuilder
public DetailsOrBuilder getDiscoveredOrBuilder()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
getDiscoveredOrBuilderin interfaceOccurrenceOrBuilder
-
hasAttestation
public boolean hasAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
hasAttestationin interfaceOccurrenceOrBuilder- Returns:
- Whether the attestation field is set.
-
getAttestation
public Details getAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
getAttestationin interfaceOccurrenceOrBuilder- Returns:
- The attestation.
-
getAttestationOrBuilder
public DetailsOrBuilder getAttestationOrBuilder()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
getAttestationOrBuilderin interfaceOccurrenceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Occurrence parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Occurrence parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Occurrence parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Occurrence parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Occurrence parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Occurrence parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Occurrence parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Occurrence.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Occurrence.Builder newBuilder()
-
newBuilder
public static Occurrence.Builder newBuilder(Occurrence prototype)
-
toBuilder
public Occurrence.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Occurrence.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Occurrence getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Occurrence> parser()
-
getParserForType
public com.google.protobuf.Parser<Occurrence> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Occurrence getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-