Class NonCompliantFile (2.48.0)

public final class NonCompliantFile extends GeneratedMessageV3 implements NonCompliantFileOrBuilder

Details about files that caused a compliance check to fail.

Protobuf type grafeas.v1.NonCompliantFile

Static Fields

DISPLAY_COMMAND_FIELD_NUMBER

public static final int DISPLAY_COMMAND_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NonCompliantFile getDefaultInstance()
Returns
Type Description
NonCompliantFile

getDescriptor()

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

newBuilder()

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

newBuilder(NonCompliantFile prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NonCompliantFile getDefaultInstanceForType()
Returns
Type Description
NonCompliantFile

getDisplayCommand()

public String getDisplayCommand()

Command to display the non-compliant files.

string display_command = 2;

Returns
Type Description
String

The displayCommand.

getDisplayCommandBytes()

public ByteString getDisplayCommandBytes()

Command to display the non-compliant files.

string display_command = 2;

Returns
Type Description
ByteString

The bytes for displayCommand.

getParserForType()

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

getPath()

public String getPath()

Empty if display_command is set.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Empty if display_command is set.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getReason()

public String getReason()

Explains why a file is non compliant for a CIS check.

string reason = 3;

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Explains why a file is non compliant for a CIS check.

string reason = 3;

Returns
Type Description
ByteString

The bytes for reason.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 NonCompliantFile.Builder newBuilderForType()
Returns
Type Description
NonCompliantFile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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