Class OrganizationSettings.AssetDiscoveryConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig
-
- All Implemented Interfaces:
OrganizationSettings.AssetDiscoveryConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- OrganizationSettings
public static final class OrganizationSettings.AssetDiscoveryConfig extends com.google.protobuf.GeneratedMessageV3 implements OrganizationSettings.AssetDiscoveryConfigOrBuilder
The configuration used for Asset Discovery runs.
Protobuf typegoogle.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrganizationSettings.AssetDiscoveryConfig.Builder
The configuration used for Asset Discovery runs.static class
OrganizationSettings.AssetDiscoveryConfig.InclusionMode
The mode of inclusion when running Asset Discovery.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
FOLDER_IDS_FIELD_NUMBER
static int
INCLUSION_MODE_FIELD_NUMBER
static int
PROJECT_IDS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static OrganizationSettings.AssetDiscoveryConfig
getDefaultInstance()
OrganizationSettings.AssetDiscoveryConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFolderIds(int index)
The folder ids to use for filtering asset discovery.com.google.protobuf.ByteString
getFolderIdsBytes(int index)
The folder ids to use for filtering asset discovery.int
getFolderIdsCount()
The folder ids to use for filtering asset discovery.com.google.protobuf.ProtocolStringList
getFolderIdsList()
The folder ids to use for filtering asset discovery.OrganizationSettings.AssetDiscoveryConfig.InclusionMode
getInclusionMode()
The mode to use for filtering asset discovery.int
getInclusionModeValue()
The mode to use for filtering asset discovery.com.google.protobuf.Parser<OrganizationSettings.AssetDiscoveryConfig>
getParserForType()
String
getProjectIds(int index)
The project ids to use for filtering asset discovery.com.google.protobuf.ByteString
getProjectIdsBytes(int index)
The project ids to use for filtering asset discovery.int
getProjectIdsCount()
The project ids to use for filtering asset discovery.com.google.protobuf.ProtocolStringList
getProjectIdsList()
The project ids to use for filtering asset discovery.int
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OrganizationSettings.AssetDiscoveryConfig.Builder
newBuilder()
static OrganizationSettings.AssetDiscoveryConfig.Builder
newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)
OrganizationSettings.AssetDiscoveryConfig.Builder
newBuilderForType()
protected OrganizationSettings.AssetDiscoveryConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OrganizationSettings.AssetDiscoveryConfig
parseDelimitedFrom(InputStream input)
static OrganizationSettings.AssetDiscoveryConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(byte[] data)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(com.google.protobuf.ByteString data)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(InputStream input)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(ByteBuffer data)
static OrganizationSettings.AssetDiscoveryConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OrganizationSettings.AssetDiscoveryConfig>
parser()
OrganizationSettings.AssetDiscoveryConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROJECT_IDS_FIELD_NUMBER
public static final int PROJECT_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUSION_MODE_FIELD_NUMBER
public static final int INCLUSION_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FOLDER_IDS_FIELD_NUMBER
public static final int FOLDER_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getProjectIdsList
public com.google.protobuf.ProtocolStringList getProjectIdsList()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
- Specified by:
getProjectIdsList
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- A list containing the projectIds.
-
getProjectIdsCount
public int getProjectIdsCount()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
- Specified by:
getProjectIdsCount
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- The count of projectIds.
-
getProjectIds
public String getProjectIds(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
- Specified by:
getProjectIds
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The projectIds at the given index.
-
getProjectIdsBytes
public com.google.protobuf.ByteString getProjectIdsBytes(int index)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
- Specified by:
getProjectIdsBytes
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the projectIds at the given index.
-
getInclusionModeValue
public int getInclusionModeValue()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
- Specified by:
getInclusionModeValue
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- The enum numeric value on the wire for inclusionMode.
-
getInclusionMode
public OrganizationSettings.AssetDiscoveryConfig.InclusionMode getInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
- Specified by:
getInclusionMode
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- The inclusionMode.
-
getFolderIdsList
public com.google.protobuf.ProtocolStringList getFolderIdsList()
The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.
repeated string folder_ids = 3;
- Specified by:
getFolderIdsList
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- A list containing the folderIds.
-
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;
- Specified by:
getFolderIdsCount
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Returns:
- The count of folderIds.
-
getFolderIds
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;
- Specified by:
getFolderIds
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The folderIds at the given index.
-
getFolderIdsBytes
public com.google.protobuf.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;
- Specified by:
getFolderIdsBytes
in interfaceOrganizationSettings.AssetDiscoveryConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the folderIds at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OrganizationSettings.AssetDiscoveryConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder()
-
newBuilder
public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)
-
toBuilder
public OrganizationSettings.AssetDiscoveryConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OrganizationSettings.AssetDiscoveryConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OrganizationSettings.AssetDiscoveryConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<OrganizationSettings.AssetDiscoveryConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OrganizationSettings.AssetDiscoveryConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-