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.v1.OrganizationSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OrganizationSettings build()
buildPartial()
public OrganizationSettings buildPartial()
clear()
public OrganizationSettings.Builder clear()
Overrides
clearAssetDiscoveryConfig()
public OrganizationSettings.Builder clearAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
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;
clearField(Descriptors.FieldDescriptor field)
public OrganizationSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public OrganizationSettings.Builder clearName()
clearOneof(Descriptors.OneofDescriptor oneof)
public OrganizationSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public OrganizationSettings.Builder clone()
Overrides
getAssetDiscoveryConfig()
public OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
getAssetDiscoveryConfigBuilder()
public OrganizationSettings.AssetDiscoveryConfig.Builder getAssetDiscoveryConfigBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
getAssetDiscoveryConfigOrBuilder()
public OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
getDefaultInstanceForType()
public OrganizationSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
hasAssetDiscoveryConfig()
public boolean hasAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the assetDiscoveryConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
public OrganizationSettings.Builder mergeAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
mergeFrom(OrganizationSettings other)
public OrganizationSettings.Builder mergeFrom(OrganizationSettings other)
public OrganizationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OrganizationSettings.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
public OrganizationSettings.Builder setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig.Builder builderForValue)
public OrganizationSettings.Builder setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig.Builder builderForValue)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public OrganizationSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public OrganizationSettings.Builder setName(String value)
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public OrganizationSettings.Builder setNameBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OrganizationSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OrganizationSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides