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
Static Fields
IDS_FIELD_NUMBER
public static final int IDS_FIELD_NUMBER
Field Value
STANDARD_FIELD_NUMBER
public static final int STANDARD_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Compliance getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Compliance.Builder newBuilder()
Returns
newBuilder(Compliance prototype)
public static Compliance.Builder newBuilder(Compliance prototype)
Parameter
Returns
public static Compliance parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Compliance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Compliance parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Compliance parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Compliance parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Compliance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Compliance parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Compliance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Compliance parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Compliance> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Compliance getDefaultInstanceForType()
Returns
getIds(int index)
public String getIds(int index)
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the ids at the given index.
|
getIdsCount()
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
Returns
Type | Description |
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
getParserForType()
public Parser<Compliance> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStandard()
public String getStandard()
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
etc.
string standard = 1;
Returns
Type | Description |
String | The standard.
|
getStandardBytes()
public ByteString getStandardBytes()
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
etc.
string standard = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Version of the standard/benchmark e.g. 1.1
string version = 2;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Version of the standard/benchmark e.g. 1.1
string version = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Compliance.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Compliance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Compliance.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions