Class ComplianceOccurrence (2.25.0)

public final class ComplianceOccurrence extends GeneratedMessageV3 implements ComplianceOccurrenceOrBuilder

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

Protobuf type grafeas.v1.ComplianceOccurrence

Static Fields

NON_COMPLIANCE_REASON_FIELD_NUMBER

public static final int NON_COMPLIANCE_REASON_FIELD_NUMBER
Field Value
TypeDescription
int

NON_COMPLIANT_FILES_FIELD_NUMBER

public static final int NON_COMPLIANT_FILES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComplianceOccurrence getDefaultInstance()
Returns
TypeDescription
ComplianceOccurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ComplianceOccurrence.Builder newBuilder()
Returns
TypeDescription
ComplianceOccurrence.Builder

newBuilder(ComplianceOccurrence prototype)

public static ComplianceOccurrence.Builder newBuilder(ComplianceOccurrence prototype)
Parameter
NameDescription
prototypeComplianceOccurrence
Returns
TypeDescription
ComplianceOccurrence.Builder

parseDelimitedFrom(InputStream input)

public static ComplianceOccurrence parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ComplianceOccurrence parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComplianceOccurrence parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComplianceOccurrence parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ComplianceOccurrence parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ComplianceOccurrence parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ComplianceOccurrence> parser()
Returns
TypeDescription
Parser<ComplianceOccurrence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ComplianceOccurrence getDefaultInstanceForType()
Returns
TypeDescription
ComplianceOccurrence

getNonComplianceReason()

public String getNonComplianceReason()

string non_compliance_reason = 3;

Returns
TypeDescription
String

The nonComplianceReason.

getNonComplianceReasonBytes()

public ByteString getNonComplianceReasonBytes()

string non_compliance_reason = 3;

Returns
TypeDescription
ByteString

The bytes for nonComplianceReason.

getNonCompliantFiles(int index)

public NonCompliantFile getNonCompliantFiles(int index)

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
NonCompliantFile

getNonCompliantFilesCount()

public int getNonCompliantFilesCount()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
TypeDescription
int

getNonCompliantFilesList()

public List<NonCompliantFile> getNonCompliantFilesList()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
TypeDescription
List<NonCompliantFile>

getNonCompliantFilesOrBuilder(int index)

public NonCompliantFileOrBuilder getNonCompliantFilesOrBuilder(int index)

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
NonCompliantFileOrBuilder

getNonCompliantFilesOrBuilderList()

public List<? extends NonCompliantFileOrBuilder> getNonCompliantFilesOrBuilderList()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
TypeDescription
List<? extends io.grafeas.v1.NonCompliantFileOrBuilder>

getParserForType()

public Parser<ComplianceOccurrence> getParserForType()
Returns
TypeDescription
Parser<ComplianceOccurrence>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ComplianceOccurrence.Builder newBuilderForType()
Returns
TypeDescription
ComplianceOccurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComplianceOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ComplianceOccurrence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ComplianceOccurrence.Builder toBuilder()
Returns
TypeDescription
ComplianceOccurrence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException