- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OrganizationSettings.AssetDiscoveryConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFolderIds(Iterable<String> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The folderIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addAllProjectIds(Iterable<String> values)
public OrganizationSettings.AssetDiscoveryConfig.Builder addAllProjectIds(Iterable<String> values)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The projectIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addFolderIds(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The folderIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addFolderIdsBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the folderIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addProjectIds(String value)
public OrganizationSettings.AssetDiscoveryConfig.Builder addProjectIds(String value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameter | |
---|---|
Name | Description |
value | String The projectIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addProjectIdsBytes(ByteString value)
public OrganizationSettings.AssetDiscoveryConfig.Builder addProjectIdsBytes(ByteString value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the projectIds to add. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.AssetDiscoveryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
build()
public OrganizationSettings.AssetDiscoveryConfig build()
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig |
buildPartial()
public OrganizationSettings.AssetDiscoveryConfig buildPartial()
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig |
clear()
public OrganizationSettings.AssetDiscoveryConfig.Builder clear()
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public OrganizationSettings.AssetDiscoveryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
clearFolderIds()
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;
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
clearInclusionMode()
public OrganizationSettings.AssetDiscoveryConfig.Builder clearInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OrganizationSettings.AssetDiscoveryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
clearProjectIds()
public OrganizationSettings.AssetDiscoveryConfig.Builder clearProjectIds()
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
clone()
public OrganizationSettings.AssetDiscoveryConfig.Builder clone()
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
getDefaultInstanceForType()
public OrganizationSettings.AssetDiscoveryConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
ProtocolStringList | A list containing the folderIds. |
getInclusionMode()
public OrganizationSettings.AssetDiscoveryConfig.InclusionMode getInclusionMode()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.InclusionMode | The inclusionMode. |
getInclusionModeValue()
public int getInclusionModeValue()
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for inclusionMode. |
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 | |
---|---|
Type | Description |
ProtocolStringList | A list containing the projectIds. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OrganizationSettings.AssetDiscoveryConfig other)
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(OrganizationSettings.AssetDiscoveryConfig other)
Parameter | |
---|---|
Name | Description |
other | OrganizationSettings.AssetDiscoveryConfig |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OrganizationSettings.AssetDiscoveryConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.AssetDiscoveryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.AssetDiscoveryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
setFolderIds(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The folderIds to set. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
setInclusionMode(OrganizationSettings.AssetDiscoveryConfig.InclusionMode value)
public OrganizationSettings.AssetDiscoveryConfig.Builder setInclusionMode(OrganizationSettings.AssetDiscoveryConfig.InclusionMode value)
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Parameter | |
---|---|
Name | Description |
value | OrganizationSettings.AssetDiscoveryConfig.InclusionMode The inclusionMode to set. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
setInclusionModeValue(int value)
public OrganizationSettings.AssetDiscoveryConfig.Builder setInclusionModeValue(int value)
The mode to use for filtering asset discovery.
.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode inclusion_mode = 2;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for inclusionMode to set. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
setProjectIds(int index, String value)
public OrganizationSettings.AssetDiscoveryConfig.Builder setProjectIds(int index, String value)
The project ids to use for filtering asset discovery.
repeated string project_ids = 1;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The projectIds to set. |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrganizationSettings.AssetDiscoveryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.AssetDiscoveryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |