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 class
Occurrence.Builder
An instance of an analysis type that has been found on a resource.static class
Occurrence.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 int
ATTESTATION_FIELD_NUMBER
static int
BUILD_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DEPLOYMENT_FIELD_NUMBER
static int
DERIVED_IMAGE_FIELD_NUMBER
static int
DISCOVERED_FIELD_NUMBER
static int
INSTALLATION_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NOTE_NAME_FIELD_NUMBER
static int
REMEDIATION_FIELD_NUMBER
static int
RESOURCE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VULNERABILITY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Details
getAttestation()
Describes an attestation of an artifact.DetailsOrBuilder
getAttestationOrBuilder()
Describes an attestation of an artifact.Details
getBuild()
Describes a verifiable build.DetailsOrBuilder
getBuildOrBuilder()
Describes a verifiable build.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Occurrence
getDefaultInstance()
Occurrence
getDefaultInstanceForType()
Details
getDeployment()
Describes the deployment of an artifact on a runtime.DetailsOrBuilder
getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.Details
getDerivedImage()
Describes how this resource derives from the basis in the associated note.DetailsOrBuilder
getDerivedImageOrBuilder()
Describes how this resource derives from the basis in the associated note.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Occurrence.DetailsCase
getDetailsCase()
Details
getDiscovered()
Describes when a resource was discovered.DetailsOrBuilder
getDiscoveredOrBuilder()
Describes when a resource was discovered.Details
getInstallation()
Describes the installation of a package on the linked resource.DetailsOrBuilder
getInstallationOrBuilder()
Describes the installation of a package on the linked resource.NoteKind
getKind()
Output only.int
getKindValue()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNoteName()
Required.com.google.protobuf.ByteString
getNoteNameBytes()
Required.com.google.protobuf.Parser<Occurrence>
getParserForType()
String
getRemediation()
A description of actions that can be taken to remedy the note.com.google.protobuf.ByteString
getRemediationBytes()
A description of actions that can be taken to remedy the note.Resource
getResource()
Required.ResourceOrBuilder
getResourceOrBuilder()
Required.int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Details
getVulnerability()
Describes a security vulnerability.DetailsOrBuilder
getVulnerabilityOrBuilder()
Describes a security vulnerability.boolean
hasAttestation()
Describes an attestation of an artifact.boolean
hasBuild()
Describes a verifiable build.boolean
hasCreateTime()
Output only.boolean
hasDeployment()
Describes the deployment of an artifact on a runtime.boolean
hasDerivedImage()
Describes how this resource derives from the basis in the associated note.boolean
hasDiscovered()
Describes when a resource was discovered.int
hashCode()
boolean
hasInstallation()
Describes the installation of a package on the linked resource.boolean
hasResource()
Required.boolean
hasUpdateTime()
Output only.boolean
hasVulnerability()
Describes a security vulnerability.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Occurrence.Builder
newBuilder()
static Occurrence.Builder
newBuilder(Occurrence prototype)
Occurrence.Builder
newBuilderForType()
protected Occurrence.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Occurrence
parseDelimitedFrom(InputStream input)
static Occurrence
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Occurrence
parseFrom(byte[] data)
static Occurrence
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Occurrence
parseFrom(com.google.protobuf.ByteString data)
static Occurrence
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Occurrence
parseFrom(com.google.protobuf.CodedInputStream input)
static Occurrence
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Occurrence
parseFrom(InputStream input)
static Occurrence
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Occurrence
parseFrom(ByteBuffer data)
static Occurrence
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Occurrence>
parser()
Occurrence.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDetailsCase
public Occurrence.DetailsCase getDetailsCase()
- Specified by:
getDetailsCase
in 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:
getName
in 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:
getNameBytes
in 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:
hasResource
in 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:
getResource
in interfaceOccurrenceOrBuilder
- Returns:
- The resource.
-
getResourceOrBuilder
public ResourceOrBuilder getResourceOrBuilder()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
- Specified by:
getResourceOrBuilder
in 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:
getNoteName
in 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:
getNoteNameBytes
in 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:
getKindValue
in 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:
getKind
in 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:
getRemediation
in 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:
getRemediationBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceOccurrenceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceOccurrenceOrBuilder
-
hasVulnerability
public boolean hasVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
- Specified by:
hasVulnerability
in interfaceOccurrenceOrBuilder
- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
public Details getVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
- Specified by:
getVulnerability
in interfaceOccurrenceOrBuilder
- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
public DetailsOrBuilder getVulnerabilityOrBuilder()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
- Specified by:
getVulnerabilityOrBuilder
in interfaceOccurrenceOrBuilder
-
hasBuild
public boolean hasBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
- Specified by:
hasBuild
in interfaceOccurrenceOrBuilder
- Returns:
- Whether the build field is set.
-
getBuild
public Details getBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
- Specified by:
getBuild
in interfaceOccurrenceOrBuilder
- Returns:
- The build.
-
getBuildOrBuilder
public DetailsOrBuilder getBuildOrBuilder()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
- Specified by:
getBuildOrBuilder
in 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:
hasDerivedImage
in 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:
getDerivedImage
in 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:
getDerivedImageOrBuilder
in interfaceOccurrenceOrBuilder
-
hasInstallation
public boolean hasInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
- Specified by:
hasInstallation
in 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:
getInstallation
in 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:
getInstallationOrBuilder
in interfaceOccurrenceOrBuilder
-
hasDeployment
public boolean hasDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
- Specified by:
hasDeployment
in 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:
getDeployment
in 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:
getDeploymentOrBuilder
in interfaceOccurrenceOrBuilder
-
hasDiscovered
public boolean hasDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
- Specified by:
hasDiscovered
in 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:
getDiscovered
in interfaceOccurrenceOrBuilder
- Returns:
- The discovered.
-
getDiscoveredOrBuilder
public DetailsOrBuilder getDiscoveredOrBuilder()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
- Specified by:
getDiscoveredOrBuilder
in interfaceOccurrenceOrBuilder
-
hasAttestation
public boolean hasAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
- Specified by:
hasAttestation
in 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:
getAttestation
in interfaceOccurrenceOrBuilder
- Returns:
- The attestation.
-
getAttestationOrBuilder
public DetailsOrBuilder getAttestationOrBuilder()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
- Specified by:
getAttestationOrBuilder
in interfaceOccurrenceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Occurrence.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Occurrence getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-