public static final class OrganizationSettings.AssetDiscoveryConfig.Builder extends GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder> implements OrganizationSettings.AssetDiscoveryConfigOrBuilder
The configuration used for Asset Discovery runs.Protobuf type
google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig
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<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OrganizationSettings.AssetDiscoveryConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OrganizationSettings.AssetDiscoveryConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OrganizationSettings.AssetDiscoveryConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(OrganizationSettings.AssetDiscoveryConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
IOException
public ProtocolStringList getProjectIdsList()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
getProjectIdsList
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public int getProjectIdsCount()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
getProjectIdsCount
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public String getProjectIds(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
getProjectIds
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
index
- The index of the element to return.public ByteString getProjectIdsBytes(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
getProjectIdsBytes
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
index
- The index of the value to return.public OrganizationSettings.AssetDiscoveryConfig.Builder setProjectIds(int index, String value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
index
- The index to set the value at.value
- The projectIds to set.public OrganizationSettings.AssetDiscoveryConfig.Builder addProjectIds(String value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
value
- The projectIds to add.public OrganizationSettings.AssetDiscoveryConfig.Builder addAllProjectIds(Iterable<String> values)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
values
- The projectIds to add.public OrganizationSettings.AssetDiscoveryConfig.Builder clearProjectIds()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
public OrganizationSettings.AssetDiscoveryConfig.Builder addProjectIdsBytes(ByteString value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
value
- The bytes of the projectIds to add.public int getInclusionModeValue()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
getInclusionModeValue
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public OrganizationSettings.AssetDiscoveryConfig.Builder setInclusionModeValue(int value)
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
value
- The enum numeric value on the wire for inclusionMode to set.public OrganizationSettings.AssetDiscoveryConfig.InclusionMode getInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
getInclusionMode
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public OrganizationSettings.AssetDiscoveryConfig.Builder setInclusionMode(OrganizationSettings.AssetDiscoveryConfig.InclusionMode value)
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
value
- The inclusionMode to set.public OrganizationSettings.AssetDiscoveryConfig.Builder clearInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
public ProtocolStringList getFolderIdsList()
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
getFolderIdsList
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public int getFolderIdsCount()
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
getFolderIdsCount
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
public String getFolderIds(int index)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
getFolderIds
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
index
- The index of the element to return.public ByteString getFolderIdsBytes(int index)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
getFolderIdsBytes
in interface OrganizationSettings.AssetDiscoveryConfigOrBuilder
index
- The index of the value to return.public OrganizationSettings.AssetDiscoveryConfig.Builder setFolderIds(int index, String value)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
index
- The index to set the value at.value
- The folderIds to set.public OrganizationSettings.AssetDiscoveryConfig.Builder addFolderIds(String value)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
value
- The folderIds to add.public OrganizationSettings.AssetDiscoveryConfig.Builder addAllFolderIds(Iterable<String> values)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
values
- The folderIds to add.public OrganizationSettings.AssetDiscoveryConfig.Builder clearFolderIds()
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
public OrganizationSettings.AssetDiscoveryConfig.Builder addFolderIdsBytes(ByteString value)
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
value
- The bytes of the folderIds to add.public final OrganizationSettings.AssetDiscoveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
public final OrganizationSettings.AssetDiscoveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OrganizationSettings.AssetDiscoveryConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.