Class ComplianceOccurrence (2.54.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
Type Description
int

NON_COMPLIANT_FILES_FIELD_NUMBER

public static final int NON_COMPLIANT_FILES_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComplianceOccurrence getDefaultInstance()
Returns
Type Description
ComplianceOccurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ComplianceOccurrence.Builder newBuilder()
Returns
Type Description
ComplianceOccurrence.Builder

newBuilder(ComplianceOccurrence prototype)

public static ComplianceOccurrence.Builder newBuilder(ComplianceOccurrence prototype)
Parameter
Name Description
prototype ComplianceOccurrence
Returns
Type Description
ComplianceOccurrence.Builder

parseDelimitedFrom(InputStream input)

public static ComplianceOccurrence parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComplianceOccurrence parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComplianceOccurrence parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComplianceOccurrence parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComplianceOccurrence parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComplianceOccurrence parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComplianceOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComplianceOccurrence> parser()
Returns
Type Description
Parser<ComplianceOccurrence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ComplianceOccurrence getDefaultInstanceForType()
Returns
Type Description
ComplianceOccurrence

getNonComplianceReason()

public String getNonComplianceReason()

string non_compliance_reason = 3;

Returns
Type Description
String

The nonComplianceReason.

getNonComplianceReasonBytes()

public ByteString getNonComplianceReasonBytes()

string non_compliance_reason = 3;

Returns
Type Description
ByteString

The bytes for nonComplianceReason.

getNonCompliantFiles(int index)

public NonCompliantFile getNonCompliantFiles(int index)

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Parameter
Name Description
index int
Returns
Type Description
NonCompliantFile

getNonCompliantFilesCount()

public int getNonCompliantFilesCount()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
Type Description
int

getNonCompliantFilesList()

public List<NonCompliantFile> getNonCompliantFilesList()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
Type Description
List<NonCompliantFile>

getNonCompliantFilesOrBuilder(int index)

public NonCompliantFileOrBuilder getNonCompliantFilesOrBuilder(int index)

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Parameter
Name Description
index int
Returns
Type Description
NonCompliantFileOrBuilder

getNonCompliantFilesOrBuilderList()

public List<? extends NonCompliantFileOrBuilder> getNonCompliantFilesOrBuilderList()

repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
Type Description
List<? extends io.grafeas.v1.NonCompliantFileOrBuilder>

getParserForType()

public Parser<ComplianceOccurrence> getParserForType()
Returns
Type Description
Parser<ComplianceOccurrence>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public ComplianceVersion getVersion()

The OS and config version the benchmark was run on.

.grafeas.v1.ComplianceVersion version = 4;

Returns
Type Description
ComplianceVersion

The version.

getVersionOrBuilder()

public ComplianceVersionOrBuilder getVersionOrBuilder()

The OS and config version the benchmark was run on.

.grafeas.v1.ComplianceVersion version = 4;

Returns
Type Description
ComplianceVersionOrBuilder

hasVersion()

public boolean hasVersion()

The OS and config version the benchmark was run on.

.grafeas.v1.ComplianceVersion version = 4;

Returns
Type Description
boolean

Whether the version field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComplianceOccurrence.Builder newBuilderForType()
Returns
Type Description
ComplianceOccurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComplianceOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComplianceOccurrence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComplianceOccurrence.Builder toBuilder()
Returns
Type Description
ComplianceOccurrence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException