Class NonCompliantFile (2.3.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
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NonCompliantFile getDefaultInstance()
Returns
TypeDescription
NonCompliantFile

getDescriptor()

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

newBuilder()

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

newBuilder(NonCompliantFile prototype)

public static NonCompliantFile.Builder newBuilder(NonCompliantFile prototype)
Parameter
NameDescription
prototypeNonCompliantFile
Returns
TypeDescription
NonCompliantFile.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NonCompliantFile getDefaultInstanceForType()
Returns
TypeDescription
NonCompliantFile

getDisplayCommand()

public String getDisplayCommand()

Command to display the non-compliant files.

string display_command = 2;

Returns
TypeDescription
String

The displayCommand.

getDisplayCommandBytes()

public ByteString getDisplayCommandBytes()

Command to display the non-compliant files.

string display_command = 2;

Returns
TypeDescription
ByteString

The bytes for displayCommand.

getParserForType()

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

getPath()

public String getPath()

Empty if display_command is set.

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Empty if display_command is set.

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

getReason()

public String getReason()

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

string reason = 3;

Returns
TypeDescription
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

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

string reason = 3;

Returns
TypeDescription
ByteString

The bytes for reason.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 NonCompliantFile.Builder newBuilderForType()
Returns
TypeDescription
NonCompliantFile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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