java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.securitycenter.settings.v1beta1.Settings
All Implemented Interfaces:
SettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Settings extends com.google.protobuf.GeneratedMessage implements SettingsOrBuilder
 Common configuration settings for all of Security Center.
 
Protobuf type google.cloud.securitycenter.settings.v1beta1.Settings
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • BILLING_SETTINGS_FIELD_NUMBER

      public static final int BILLING_SETTINGS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • ORG_SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int ORG_SERVICE_ACCOUNT_FIELD_NUMBER
      See Also:
    • SINK_SETTINGS_FIELD_NUMBER

      public static final int SINK_SETTINGS_FIELD_NUMBER
      See Also:
    • COMPONENT_SETTINGS_FIELD_NUMBER

      public static final int COMPONENT_SETTINGS_FIELD_NUMBER
      See Also:
    • DETECTOR_GROUP_SETTINGS_FIELD_NUMBER

      public static final int DETECTOR_GROUP_SETTINGS_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • 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 resource.
       Formats:
       * `organizations/{organization}/settings`
       * `folders/{folder}/settings`
       * `projects/{project}/settings`
       * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
       * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
       * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
       
      string name = 1;
      Specified by:
      getName in interface SettingsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The relative resource name of the settings resource.
       Formats:
       * `organizations/{organization}/settings`
       * `folders/{folder}/settings`
       * `projects/{project}/settings`
       * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
       * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
       * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
       
      string name = 1;
      Specified by:
      getNameBytes in interface SettingsOrBuilder
      Returns:
      The bytes for name.
    • hasBillingSettings

      public boolean hasBillingSettings()
       Billing settings
       
      .google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
      Specified by:
      hasBillingSettings in interface SettingsOrBuilder
      Returns:
      Whether the billingSettings field is set.
    • getBillingSettings

      public BillingSettings getBillingSettings()
       Billing settings
       
      .google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
      Specified by:
      getBillingSettings in interface SettingsOrBuilder
      Returns:
      The billingSettings.
    • getBillingSettingsOrBuilder

      public BillingSettingsOrBuilder getBillingSettingsOrBuilder()
       Billing settings
       
      .google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;
      Specified by:
      getBillingSettingsOrBuilder in interface SettingsOrBuilder
    • getStateValue

      public int getStateValue()
       An enum representing the current on boarding state of SCC.
       
      .google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
      Specified by:
      getStateValue in interface SettingsOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Settings.OnboardingState getState()
       An enum representing the current on boarding state of SCC.
       
      .google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;
      Specified by:
      getState in interface SettingsOrBuilder
      Returns:
      The state.
    • getOrgServiceAccount

      public String getOrgServiceAccount()
       Output only. The organization-level service account to be used for security center
       components. The component must have permission to "act as" the service
       account.
       
      string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrgServiceAccount in interface SettingsOrBuilder
      Returns:
      The orgServiceAccount.
    • getOrgServiceAccountBytes

      public com.google.protobuf.ByteString getOrgServiceAccountBytes()
       Output only. The organization-level service account to be used for security center
       components. The component must have permission to "act as" the service
       account.
       
      string org_service_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrgServiceAccountBytes in interface SettingsOrBuilder
      Returns:
      The bytes for orgServiceAccount.
    • hasSinkSettings

      public boolean hasSinkSettings()
       Sink settings.
       
      .google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
      Specified by:
      hasSinkSettings in interface SettingsOrBuilder
      Returns:
      Whether the sinkSettings field is set.
    • getSinkSettings

      public SinkSettings getSinkSettings()
       Sink settings.
       
      .google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
      Specified by:
      getSinkSettings in interface SettingsOrBuilder
      Returns:
      The sinkSettings.
    • getSinkSettingsOrBuilder

      public SinkSettingsOrBuilder getSinkSettingsOrBuilder()
       Sink settings.
       
      .google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;
      Specified by:
      getSinkSettingsOrBuilder in interface SettingsOrBuilder
    • getComponentSettingsCount

      public int getComponentSettingsCount()
      Description copied from interface: SettingsOrBuilder
       The settings for detectors and/or scanners.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
      Specified by:
      getComponentSettingsCount in interface SettingsOrBuilder
    • containsComponentSettings

      public boolean containsComponentSettings(String key)
       The settings for detectors and/or scanners.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
      Specified by:
      containsComponentSettings in interface SettingsOrBuilder
    • getComponentSettings

      @Deprecated public Map<String,ComponentSettings> getComponentSettings()
      Deprecated.
      Specified by:
      getComponentSettings in interface SettingsOrBuilder
    • getComponentSettingsMap

      public Map<String,ComponentSettings> getComponentSettingsMap()
       The settings for detectors and/or scanners.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
      Specified by:
      getComponentSettingsMap in interface SettingsOrBuilder
    • getComponentSettingsOrDefault

      public ComponentSettings getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)
       The settings for detectors and/or scanners.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
      Specified by:
      getComponentSettingsOrDefault in interface SettingsOrBuilder
    • getComponentSettingsOrThrow

      public ComponentSettings getComponentSettingsOrThrow(String key)
       The settings for detectors and/or scanners.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;
      Specified by:
      getComponentSettingsOrThrow in interface SettingsOrBuilder
    • getDetectorGroupSettingsCount

      public int getDetectorGroupSettingsCount()
      Description copied from interface: SettingsOrBuilder
       Detector group settings for all Security Center components.
       The key is the name of the detector group and the value is the settings for
       that group.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
      Specified by:
      getDetectorGroupSettingsCount in interface SettingsOrBuilder
    • containsDetectorGroupSettings

      public boolean containsDetectorGroupSettings(String key)
       Detector group settings for all Security Center components.
       The key is the name of the detector group and the value is the settings for
       that group.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
      Specified by:
      containsDetectorGroupSettings in interface SettingsOrBuilder
    • getDetectorGroupSettings

      @Deprecated public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
      Deprecated.
      Specified by:
      getDetectorGroupSettings in interface SettingsOrBuilder
    • getDetectorGroupSettingsMap

      public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettingsMap()
       Detector group settings for all Security Center components.
       The key is the name of the detector group and the value is the settings for
       that group.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
      Specified by:
      getDetectorGroupSettingsMap in interface SettingsOrBuilder
    • getDetectorGroupSettingsOrDefault

      public Settings.DetectorGroupSettings getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)
       Detector group settings for all Security Center components.
       The key is the name of the detector group and the value is the settings for
       that group.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
      Specified by:
      getDetectorGroupSettingsOrDefault in interface SettingsOrBuilder
    • getDetectorGroupSettingsOrThrow

      public Settings.DetectorGroupSettings getDetectorGroupSettingsOrThrow(String key)
       Detector group settings for all Security Center components.
       The key is the name of the detector group and the value is the settings for
       that group.
       
      map<string, .google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings> detector_group_settings = 8;
      Specified by:
      getDetectorGroupSettingsOrThrow in interface SettingsOrBuilder
    • getEtag

      public String getEtag()
       A fingerprint used for optimistic concurrency. If none is provided
       on updates then the existing metadata will be blindly overwritten.
       
      string etag = 9;
      Specified by:
      getEtag in interface SettingsOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       A fingerprint used for optimistic concurrency. If none is provided
       on updates then the existing metadata will be blindly overwritten.
       
      string etag = 9;
      Specified by:
      getEtagBytes in interface SettingsOrBuilder
      Returns:
      The bytes for etag.
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time these settings were last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface SettingsOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time these settings were last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface SettingsOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time these settings were last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface SettingsOrBuilder
    • 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 Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Settings.Builder newBuilder()
    • newBuilder

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

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

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

      public static Settings getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Settings> 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 Settings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder