Class OrganizationSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.securitycenter.v1p1beta1.OrganizationSettings
All Implemented Interfaces:
OrganizationSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OrganizationSettings extends com.google.protobuf.GeneratedMessage implements OrganizationSettingsOrBuilder
 User specified settings that are attached to the Security Command
 Center organization.
 
Protobuf type google.cloud.securitycenter.v1p1beta1.OrganizationSettings
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ENABLE_ASSET_DISCOVERY_FIELD_NUMBER

      public static final int ENABLE_ASSET_DISCOVERY_FIELD_NUMBER
      See Also:
    • ASSET_DISCOVERY_CONFIG_FIELD_NUMBER

      public static final int ASSET_DISCOVERY_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      getName in interface OrganizationSettingsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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;
      Specified by:
      getNameBytes in interface OrganizationSettingsOrBuilder
      Returns:
      The bytes for name.
    • 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;
      Specified by:
      getEnableAssetDiscovery in interface OrganizationSettingsOrBuilder
      Returns:
      The enableAssetDiscovery.
    • hasAssetDiscoveryConfig

      public boolean hasAssetDiscoveryConfig()
       The configuration used for Asset Discovery runs.
       
      .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
      Specified by:
      hasAssetDiscoveryConfig in interface OrganizationSettingsOrBuilder
      Returns:
      Whether the assetDiscoveryConfig field is set.
    • getAssetDiscoveryConfig

      public OrganizationSettings.AssetDiscoveryConfig getAssetDiscoveryConfig()
       The configuration used for Asset Discovery runs.
       
      .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
      Specified by:
      getAssetDiscoveryConfig in interface OrganizationSettingsOrBuilder
      Returns:
      The assetDiscoveryConfig.
    • getAssetDiscoveryConfigOrBuilder

      public OrganizationSettings.AssetDiscoveryConfigOrBuilder getAssetDiscoveryConfigOrBuilder()
       The configuration used for Asset Discovery runs.
       
      .google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig asset_discovery_config = 3;
      Specified by:
      getAssetDiscoveryConfigOrBuilder in interface OrganizationSettingsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OrganizationSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OrganizationSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OrganizationSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OrganizationSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OrganizationSettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OrganizationSettings.Builder newBuilder()
    • newBuilder

      public static OrganizationSettings.Builder newBuilder(OrganizationSettings prototype)
    • toBuilder

      public OrganizationSettings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OrganizationSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OrganizationSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OrganizationSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<OrganizationSettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OrganizationSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder