public static final class Compliance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder> implements ComplianceOrBuilder
Contains compliance information about a security standard indicating unmet recommendations.Protobuf type
google.cloud.securitycenter.v1.Compliance| Modifier and Type | Method and Description |
|---|---|
Compliance.Builder |
addAllIds(Iterable<String> values)
Policies within the standard or benchmark, for example, A.12.4.1
|
Compliance.Builder |
addIds(String value)
Policies within the standard or benchmark, for example, A.12.4.1
|
Compliance.Builder |
addIdsBytes(com.google.protobuf.ByteString value)
Policies within the standard or benchmark, for example, A.12.4.1
|
Compliance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Compliance |
build() |
Compliance |
buildPartial() |
Compliance.Builder |
clear() |
Compliance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Compliance.Builder |
clearIds()
Policies within the standard or benchmark, for example, A.12.4.1
|
Compliance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Compliance.Builder |
clearStandard()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
|
Compliance.Builder |
clearVersion()
Version of the standard or benchmark, for example, 1.1
|
Compliance.Builder |
clone() |
Compliance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIds(int index)
Policies within the standard or benchmark, for example, A.12.4.1
|
com.google.protobuf.ByteString |
getIdsBytes(int index)
Policies within the standard or benchmark, for example, A.12.4.1
|
int |
getIdsCount()
Policies within the standard or benchmark, for example, A.12.4.1
|
com.google.protobuf.ProtocolStringList |
getIdsList()
Policies within the standard or benchmark, for example, A.12.4.1
|
String |
getStandard()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
|
com.google.protobuf.ByteString |
getStandardBytes()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
|
String |
getVersion()
Version of the standard or benchmark, for example, 1.1
|
com.google.protobuf.ByteString |
getVersionBytes()
Version of the standard or benchmark, for example, 1.1
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Compliance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Compliance.Builder |
mergeFrom(Compliance other) |
Compliance.Builder |
mergeFrom(com.google.protobuf.Message other) |
Compliance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Compliance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Compliance.Builder |
setIds(int index,
String value)
Policies within the standard or benchmark, for example, A.12.4.1
|
Compliance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Compliance.Builder |
setStandard(String value)
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
|
Compliance.Builder |
setStandardBytes(com.google.protobuf.ByteString value)
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and
OWASP.
|
Compliance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Compliance.Builder |
setVersion(String value)
Version of the standard or benchmark, for example, 1.1
|
Compliance.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
Version of the standard or benchmark, for example, 1.1
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Compliance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Compliance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Compliance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compliance.Builder>public Compliance.Builder mergeFrom(Compliance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public Compliance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compliance.Builder>IOExceptionpublic String getStandard()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
string standard = 1;getStandard in interface ComplianceOrBuilderpublic com.google.protobuf.ByteString getStandardBytes()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
string standard = 1;getStandardBytes in interface ComplianceOrBuilderpublic Compliance.Builder setStandard(String value)
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
string standard = 1;value - The standard to set.public Compliance.Builder clearStandard()
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
string standard = 1;public Compliance.Builder setStandardBytes(com.google.protobuf.ByteString value)
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
string standard = 1;value - The bytes for standard to set.public String getVersion()
Version of the standard or benchmark, for example, 1.1
string version = 2;getVersion in interface ComplianceOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Version of the standard or benchmark, for example, 1.1
string version = 2;getVersionBytes in interface ComplianceOrBuilderpublic Compliance.Builder setVersion(String value)
Version of the standard or benchmark, for example, 1.1
string version = 2;value - The version to set.public Compliance.Builder clearVersion()
Version of the standard or benchmark, for example, 1.1
string version = 2;public Compliance.Builder setVersionBytes(com.google.protobuf.ByteString value)
Version of the standard or benchmark, for example, 1.1
string version = 2;value - The bytes for version to set.public com.google.protobuf.ProtocolStringList getIdsList()
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;getIdsList in interface ComplianceOrBuilderpublic int getIdsCount()
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;getIdsCount in interface ComplianceOrBuilderpublic String getIds(int index)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;getIds in interface ComplianceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIdsBytes(int index)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;getIdsBytes in interface ComplianceOrBuilderindex - The index of the value to return.public Compliance.Builder setIds(int index, String value)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;index - The index to set the value at.value - The ids to set.public Compliance.Builder addIds(String value)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;value - The ids to add.public Compliance.Builder addAllIds(Iterable<String> values)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;values - The ids to add.public Compliance.Builder clearIds()
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;public Compliance.Builder addIdsBytes(com.google.protobuf.ByteString value)
Policies within the standard or benchmark, for example, A.12.4.1
repeated string ids = 3;value - The bytes of the ids to add.public final Compliance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>public final Compliance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Compliance.Builder>Copyright © 2024 Google LLC. All rights reserved.