- 2.91.0 (latest)
- 2.90.0
- 2.88.0
- 2.86.0
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 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.Builder extends GeneratedMessage.Builder<OrganizationSettings.Builder> implements OrganizationSettingsOrBuilderUser specified settings that are attached to the Security Command Center organization.
Protobuf type google.cloud.securitycenter.v1.OrganizationSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OrganizationSettings.BuilderImplements
OrganizationSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OrganizationSettings build()| Returns | |
|---|---|
| Type | Description |
OrganizationSettings |
|
buildPartial()
public OrganizationSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
OrganizationSettings |
|
clear()
public OrganizationSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
clearAssetDiscoveryConfig()
public OrganizationSettings.Builder clearAssetDiscoveryConfig()The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
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 | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
This builder for chaining. |
clearName()
public OrganizationSettings.Builder clearName()The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
string name = 1;
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
This builder for chaining. |
getAssetDiscoveryConfig()
public OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.AssetDiscoveryConfig |
The assetDiscoveryConfig. |
getAssetDiscoveryConfigBuilder()
public OrganizationSettings.AssetDiscoveryConfig.Builder getAssetDiscoveryConfigBuilder()The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.AssetDiscoveryConfig.Builder |
|
getAssetDiscoveryConfigOrBuilder()
public OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.AssetDiscoveryConfigOrBuilder |
|
getDefaultInstanceForType()
public OrganizationSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OrganizationSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()
public String getName()The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
string name = 1;
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OrganizationSettings.AssetDiscoveryConfig |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
mergeFrom(OrganizationSettings other)
public OrganizationSettings.Builder mergeFrom(OrganizationSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
OrganizationSettings |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OrganizationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OrganizationSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OrganizationSettings.AssetDiscoveryConfig |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OrganizationSettings.AssetDiscoveryConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
|
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 |
booleanThe enableAssetDiscovery to set. |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
This builder for chaining. |
setName(String value)
public OrganizationSettings.Builder setName(String value)The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OrganizationSettings.Builder setNameBytes(ByteString value)The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/organizationSettings".
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
OrganizationSettings.Builder |
This builder for chaining. |