public static final class OrganizationSettings.Builder extends GeneratedMessageV3.Builder<OrganizationSettings.Builder> implements OrganizationSettingsOrBuilder
User specified settings that are attached to the Security Command
Center organization.
Protobuf type google.cloud.securitycenter.v1beta1.OrganizationSettings
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OrganizationSettings build()
Returns
buildPartial()
public OrganizationSettings buildPartial()
Returns
clear()
public OrganizationSettings.Builder clear()
Returns
Overrides
clearAssetDiscoveryConfig()
public OrganizationSettings.Builder clearAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns
clearEnableAssetDiscovery()
public OrganizationSettings.Builder clearEnableAssetDiscovery()
A flag that indicates if Asset Discovery should be enabled. If the flag is
set to true
, then discovery of assets will occur. If it is set to `false,
all historical assets will remain, but discovery of future assets will not
occur.
bool enable_asset_discovery = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public OrganizationSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public OrganizationSettings.Builder clearName()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public OrganizationSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public OrganizationSettings.Builder clone()
Returns
Overrides
getAssetDiscoveryConfig()
public OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns
getAssetDiscoveryConfigBuilder()
public OrganizationSettings.AssetDiscoveryConfig.Builder getAssetDiscoveryConfigBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns
getAssetDiscoveryConfigOrBuilder()
public OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns
getDefaultInstanceForType()
public OrganizationSettings getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableAssetDiscovery()
public boolean getEnableAssetDiscovery()
A flag that indicates if Asset Discovery should be enabled. If the flag is
set to true
, then discovery of assets will occur. If it is set to `false,
all historical assets will remain, but discovery of future assets will not
occur.
bool enable_asset_discovery = 2;
Returns
Type | Description |
boolean | The enableAssetDiscovery.
|
getName()
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Returns
hasAssetDiscoveryConfig()
public boolean hasAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns
Type | Description |
boolean | Whether the assetDiscoveryConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
public OrganizationSettings.Builder mergeAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Parameter
Returns
mergeFrom(OrganizationSettings other)
public OrganizationSettings.Builder mergeFrom(OrganizationSettings other)
Parameter
Returns
public OrganizationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OrganizationSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
public OrganizationSettings.Builder setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Parameter
Returns
setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig.Builder builderForValue)
public OrganizationSettings.Builder setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig.Builder builderForValue)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Parameter
Returns
setEnableAssetDiscovery(boolean value)
public OrganizationSettings.Builder setEnableAssetDiscovery(boolean value)
A flag that indicates if Asset Discovery should be enabled. If the flag is
set to true
, then discovery of assets will occur. If it is set to `false,
all historical assets will remain, but discovery of future assets will not
occur.
bool enable_asset_discovery = 2;
Parameter
Name | Description |
value | boolean
The enableAssetDiscovery to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public OrganizationSettings.Builder setName(String value)
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public OrganizationSettings.Builder setNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrganizationSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides