Class Compliance (2.10.0)

public final class Compliance extends GeneratedMessageV3 implements ComplianceOrBuilder

Contains compliance information about a security standard indicating unmet recommendations.

Protobuf type google.cloud.securitycenter.v1.Compliance

Implements

ComplianceOrBuilder

Static Fields

IDS_FIELD_NUMBER

public static final int IDS_FIELD_NUMBER
Field Value
TypeDescription
int

STANDARD_FIELD_NUMBER

public static final int STANDARD_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Compliance getDefaultInstance()
Returns
TypeDescription
Compliance

getDescriptor()

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

newBuilder()

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

newBuilder(Compliance prototype)

public static Compliance.Builder newBuilder(Compliance prototype)
Parameter
NameDescription
prototypeCompliance
Returns
TypeDescription
Compliance.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Compliance getDefaultInstanceForType()
Returns
TypeDescription
Compliance

getIds(int index)

public String getIds(int index)

Policies within the standard/benchmark e.g. A.12.4.1

repeated string ids = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ids at the given index.

getIdsBytes(int index)

public ByteString getIdsBytes(int index)

Policies within the standard/benchmark e.g. A.12.4.1

repeated string ids = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ids at the given index.

getIdsCount()

public int getIdsCount()

Policies within the standard/benchmark e.g. A.12.4.1

repeated string ids = 3;

Returns
TypeDescription
int

The count of ids.

getIdsList()

public ProtocolStringList getIdsList()

Policies within the standard/benchmark e.g. A.12.4.1

repeated string ids = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the ids.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStandard()

public String getStandard()

Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.

string standard = 1;

Returns
TypeDescription
String

The standard.

getStandardBytes()

public ByteString getStandardBytes()

Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.

string standard = 1;

Returns
TypeDescription
ByteString

The bytes for standard.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

Version of the standard/benchmark e.g. 1.1

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the standard/benchmark e.g. 1.1

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

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 Compliance.Builder newBuilderForType()
Returns
TypeDescription
Compliance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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