Class OrganizationSettings.AssetDiscoveryConfig (2.13.0)

public static final class OrganizationSettings.AssetDiscoveryConfig extends GeneratedMessageV3 implements OrganizationSettings.AssetDiscoveryConfigOrBuilder

The configuration used for Asset Discovery runs.

Protobuf type google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OrganizationSettings.AssetDiscoveryConfig

Static Fields

INCLUSION_MODE_FIELD_NUMBER

public static final int INCLUSION_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_IDS_FIELD_NUMBER

public static final int PROJECT_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OrganizationSettings.AssetDiscoveryConfig getDefaultInstance()
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder()
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.Builder

newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)

public static OrganizationSettings.AssetDiscoveryConfig.Builder newBuilder(OrganizationSettings.AssetDiscoveryConfig prototype)
Parameter
NameDescription
prototypeOrganizationSettings.AssetDiscoveryConfig
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.Builder

parseDelimitedFrom(InputStream input)

public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OrganizationSettings.AssetDiscoveryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OrganizationSettings.AssetDiscoveryConfig> parser()
Returns
TypeDescription
Parser<AssetDiscoveryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public OrganizationSettings.AssetDiscoveryConfig getDefaultInstanceForType()
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig

getInclusionMode()

public OrganizationSettings.AssetDiscoveryConfig.InclusionMode getInclusionMode()

The mode to use for filtering asset discovery.

.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;

Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.InclusionMode

The inclusionMode.

getInclusionModeValue()

public int getInclusionModeValue()

The mode to use for filtering asset discovery.

.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for inclusionMode.

getParserForType()

public Parser<OrganizationSettings.AssetDiscoveryConfig> getParserForType()
Returns
TypeDescription
Parser<AssetDiscoveryConfig>
Overrides

getProjectIds(int index)

public String getProjectIds(int index)

The project ids to use for filtering asset discovery.

repeated string project_ids = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of projectIds.

getProjectIdsList()

public ProtocolStringList getProjectIdsList()

The project ids to use for filtering asset discovery.

repeated string project_ids = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the projectIds.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType()
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OrganizationSettings.AssetDiscoveryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OrganizationSettings.AssetDiscoveryConfig.Builder toBuilder()
Returns
TypeDescription
OrganizationSettings.AssetDiscoveryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException