public final class Compliance extends GeneratedMessageV3 implements ComplianceOrBuilder
Contains compliance information about a security standard indicating unmet
recommendations.
Protobuf type google.cloud.securitycenter.v2.Compliance
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IDS_FIELD_NUMBER
public static final int IDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STANDARD_FIELD_NUMBER
public static final int STANDARD_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 Compliance getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Compliance.Builder newBuilder()
newBuilder(Compliance prototype)
public static Compliance.Builder newBuilder(Compliance prototype)
public static Compliance parseDelimitedFrom(InputStream input)
public static Compliance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Compliance parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Compliance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(CodedInputStream input)
public static Compliance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(InputStream input)
public static Compliance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Compliance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Compliance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Compliance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Compliance getDefaultInstanceForType()
getIds(int index)
public String getIds(int index)
Policies within the standard or benchmark, for example, 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 or benchmark, for example, 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 or benchmark, for example, A.12.4.1
repeated string ids = 3;
Returns |
Type |
Description |
int |
The count of ids.
|
getIdsList()
public ProtocolStringList getIdsList()
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;
getParserForType()
public Parser<Compliance> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStandard()
public String getStandard()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
string standard = 1;
Returns |
Type |
Description |
String |
The standard.
|
getStandardBytes()
public ByteString getStandardBytes()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
string standard = 1;
Returns |
Type |
Description |
ByteString |
The bytes for standard.
|
getVersion()
public String getVersion()
Version of the standard or benchmark, for example, 1.1
string version = 2;
Returns |
Type |
Description |
String |
The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Version of the standard or benchmark, for example, 1.1
string version = 2;
Returns |
Type |
Description |
ByteString |
The bytes for version.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Compliance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Compliance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Compliance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides