public static final class OrganizationSettings.AssetDiscoveryConfig extends GeneratedMessageV3 implements OrganizationSettings.AssetDiscoveryConfigOrBuilder
The configuration used for Asset Discovery runs.
Protobuf type google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig
Static Fields
FOLDER_IDS_FIELD_NUMBER
public static final int FOLDER_IDS_FIELD_NUMBER
Field Value
INCLUSION_MODE_FIELD_NUMBER
public static final int INCLUSION_MODE_FIELD_NUMBER
Field Value
PROJECT_IDS_FIELD_NUMBER
public static final int PROJECT_IDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OrganizationSettings.AssetDiscoveryConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder()
Returns
newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)
public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)
Parameter
Returns
public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<OrganizationSettings.AssetDiscoveryConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public OrganizationSettings.AssetDiscoveryConfig getDefaultInstanceForType()
Returns
getFolderIds(int index)
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The folderIds at the given index.
|
getFolderIdsBytes(int index)
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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the folderIds at the given index.
|
getFolderIdsCount()
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;
Returns
Type | Description |
int | The count of folderIds.
|
getFolderIdsList()
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;
Returns
getInclusionMode()
public OrganizationSettings.AssetDiscoveryConfig.InclusionMode getInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Returns
getInclusionModeValue()
public int getInclusionModeValue()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for inclusionMode.
|
getParserForType()
public Parser<OrganizationSettings.AssetDiscoveryConfig> getParserForType()
Returns
Overrides
getProjectIds(int index)
public String getProjectIds(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The projectIds at the given index.
|
getProjectIdsBytes(int index)
public ByteString getProjectIdsBytes(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the projectIds at the given index.
|
getProjectIdsCount()
public int getProjectIdsCount()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Returns
Type | Description |
int | The count of projectIds.
|
getProjectIdsList()
public ProtocolStringList getProjectIdsList()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public OrganizationSettings.AssetDiscoveryConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions