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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OrganizationSettings build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OrganizationSettings buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OrganizationSettings.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder mergeFrom(OrganizationSettings other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public OrganizationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OrganizationSettings.Builder>
IOException
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;
getName
in interface OrganizationSettingsOrBuilder
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;
getNameBytes
in interface OrganizationSettingsOrBuilder
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;
value
- The name to set.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;
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;
value
- The bytes for name to set.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;
getEnableAssetDiscovery
in interface OrganizationSettingsOrBuilder
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;
value
- The enableAssetDiscovery to set.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;
public boolean hasAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
hasAssetDiscoveryConfig
in interface OrganizationSettingsOrBuilder
public OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
getAssetDiscoveryConfig
in interface OrganizationSettingsOrBuilder
public OrganizationSettings.Builder setAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
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;
public OrganizationSettings.Builder mergeAssetDiscoveryConfig(OrganizationSettings.AssetDiscoveryConfig value)
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
public OrganizationSettings.Builder clearAssetDiscoveryConfig()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
public OrganizationSettings.AssetDiscoveryConfig.Builder getAssetDiscoveryConfigBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
public OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()
The configuration used for Asset Discovery runs.
.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
getAssetDiscoveryConfigOrBuilder
in interface OrganizationSettingsOrBuilder
public final OrganizationSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
public final OrganizationSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OrganizationSettings.Builder>
Copyright © 2022 Google LLC. All rights reserved.