public static final class Compliance.Builder extends GeneratedMessageV3.Builder<Compliance.Builder> implements ComplianceOrBuilder
Contains compliance information about a security standard indicating unmet recommendations.Protobuf type
google.cloud.securitycenter.v1.Compliance
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Compliance build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Compliance buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Compliance.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Compliance.Builder>
public Compliance.Builder mergeFrom(Compliance other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Compliance.Builder>
public Compliance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Compliance.Builder>
IOException
public String getStandard()
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
string standard = 1;
getStandard
in interface ComplianceOrBuilder
public ByteString getStandardBytes()
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
string standard = 1;
getStandardBytes
in interface ComplianceOrBuilder
public Compliance.Builder setStandard(String value)
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
string standard = 1;
value
- The standard to set.public Compliance.Builder clearStandard()
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
string standard = 1;
public Compliance.Builder setStandardBytes(ByteString value)
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
string standard = 1;
value
- The bytes for standard to set.public String getVersion()
Version of the standard/benchmark e.g. 1.1
string version = 2;
getVersion
in interface ComplianceOrBuilder
public ByteString getVersionBytes()
Version of the standard/benchmark e.g. 1.1
string version = 2;
getVersionBytes
in interface ComplianceOrBuilder
public Compliance.Builder setVersion(String value)
Version of the standard/benchmark e.g. 1.1
string version = 2;
value
- The version to set.public Compliance.Builder clearVersion()
Version of the standard/benchmark e.g. 1.1
string version = 2;
public Compliance.Builder setVersionBytes(ByteString value)
Version of the standard/benchmark e.g. 1.1
string version = 2;
value
- The bytes for version to set.public ProtocolStringList getIdsList()
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
getIdsList
in interface ComplianceOrBuilder
public int getIdsCount()
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
getIdsCount
in interface ComplianceOrBuilder
public String getIds(int index)
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
getIds
in interface ComplianceOrBuilder
index
- The index of the element to return.public ByteString getIdsBytes(int index)
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
getIdsBytes
in interface ComplianceOrBuilder
index
- The index of the value to return.public Compliance.Builder setIds(int index, String value)
Policies within the standard/benchmark e.g. 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/benchmark e.g. A.12.4.1
repeated string ids = 3;
value
- The ids to add.public Compliance.Builder addAllIds(Iterable<String> values)
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
values
- The ids to add.public Compliance.Builder clearIds()
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
public Compliance.Builder addIdsBytes(ByteString value)
Policies within the standard/benchmark e.g. A.12.4.1
repeated string ids = 3;
value
- The bytes of the ids to add.public final Compliance.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Compliance.Builder>
public final Compliance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Compliance.Builder>
Copyright © 2022 Google LLC. All rights reserved.