Class Settings.Builder (0.57.0)

public static final class Settings.Builder extends GeneratedMessageV3.Builder<Settings.Builder> implements SettingsOrBuilder

Common configuration settings for all of Security Center.

Protobuf type google.cloud.securitycenter.settings.v1beta1.Settings

Implements

SettingsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.Builder
Overrides

build()

public Settings build()
Returns
Type Description
Settings

buildPartial()

public Settings buildPartial()
Returns
Type Description
Settings

clear()

public Settings.Builder clear()
Returns
Type Description
Settings.Builder
Overrides

clearBillingSettings()

public Settings.Builder clearBillingSettings()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
Type Description
Settings.Builder

clearComponentSettings()

public Settings.Builder clearComponentSettings()
Returns
Type Description
Settings.Builder

clearDetectorGroupSettings()

public Settings.Builder clearDetectorGroupSettings()
Returns
Type Description
Settings.Builder

clearEtag()

public Settings.Builder clearEtag()

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

string etag = 9;

Returns
Type Description
Settings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Settings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Settings.Builder
Overrides

clearName()

public Settings.Builder clearName()

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;

Returns
Type Description
Settings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Settings.Builder
Overrides

clearOrgServiceAccount()

public Settings.Builder clearOrgServiceAccount()

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];

Returns
Type Description
Settings.Builder

This builder for chaining.

clearSinkSettings()

public Settings.Builder clearSinkSettings()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
Type Description
Settings.Builder

clearState()

public Settings.Builder clearState()

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Returns
Type Description
Settings.Builder

This builder for chaining.

clearUpdateTime()

public Settings.Builder clearUpdateTime()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Settings.Builder

clone()

public Settings.Builder clone()
Returns
Type Description
Settings.Builder
Overrides

containsComponentSettings(String key)

public boolean containsComponentSettings(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsDetectorGroupSettings(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBillingSettings()

public BillingSettings getBillingSettings()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
Type Description
BillingSettings

The billingSettings.

getBillingSettingsBuilder()

public BillingSettings.Builder getBillingSettingsBuilder()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
Type Description
BillingSettings.Builder

getBillingSettingsOrBuilder()

public BillingSettingsOrBuilder getBillingSettingsOrBuilder()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
Type Description
BillingSettingsOrBuilder

getComponentSettings() (deprecated)

public Map<String,ComponentSettings> getComponentSettings()
Returns
Type Description
Map<String,ComponentSettings>

getComponentSettingsCount()

public int getComponentSettingsCount()

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Returns
Type Description
int

getComponentSettingsMap()

public Map<String,ComponentSettings> getComponentSettingsMap()

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Returns
Type Description
Map<String,ComponentSettings>

getComponentSettingsOrDefault(String key, ComponentSettings defaultValue)

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;

Parameters
Name Description
key String
defaultValue ComponentSettings
Returns
Type Description
ComponentSettings

getComponentSettingsOrThrow(String key)

public ComponentSettings getComponentSettingsOrThrow(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
Name Description
key String
Returns
Type Description
ComponentSettings

getDefaultInstanceForType()

public Settings getDefaultInstanceForType()
Returns
Type Description
Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetectorGroupSettings() (deprecated)

public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
Returns
Type Description
Map<String,DetectorGroupSettings>

getDetectorGroupSettingsCount()

public int getDetectorGroupSettingsCount()

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;

Returns
Type Description
int

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;

Returns
Type Description
Map<String,DetectorGroupSettings>

getDetectorGroupSettingsOrDefault(String key, Settings.DetectorGroupSettings defaultValue)

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;

Parameters
Name Description
key String
defaultValue Settings.DetectorGroupSettings
Returns
Type Description
Settings.DetectorGroupSettings

getDetectorGroupSettingsOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
Settings.DetectorGroupSettings

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;

Returns
Type Description
String

The etag.

getEtagBytes()

public 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;

Returns
Type Description
ByteString

The bytes for etag.

getMutableComponentSettings() (deprecated)

public Map<String,ComponentSettings> getMutableComponentSettings()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ComponentSettings>

getMutableDetectorGroupSettings() (deprecated)

public Map<String,Settings.DetectorGroupSettings> getMutableDetectorGroupSettings()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,DetectorGroupSettings>

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;

Returns
Type Description
String

The name.

getNameBytes()

public 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;

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
String

The orgServiceAccount.

getOrgServiceAccountBytes()

public 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];

Returns
Type Description
ByteString

The bytes for orgServiceAccount.

getSinkSettings()

public SinkSettings getSinkSettings()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
Type Description
SinkSettings

The sinkSettings.

getSinkSettingsBuilder()

public SinkSettings.Builder getSinkSettingsBuilder()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
Type Description
SinkSettings.Builder

getSinkSettingsOrBuilder()

public SinkSettingsOrBuilder getSinkSettingsOrBuilder()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
Type Description
SinkSettingsOrBuilder

getState()

public Settings.OnboardingState getState()

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Returns
Type Description
Settings.OnboardingState

The state.

getStateValue()

public int getStateValue()

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBillingSettings()

public boolean hasBillingSettings()

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Returns
Type Description
boolean

Whether the billingSettings field is set.

hasSinkSettings()

public boolean hasSinkSettings()

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Returns
Type Description
boolean

Whether the sinkSettings field is set.

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];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBillingSettings(BillingSettings value)

public Settings.Builder mergeBillingSettings(BillingSettings value)

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Parameter
Name Description
value BillingSettings
Returns
Type Description
Settings.Builder

mergeFrom(Settings other)

public Settings.Builder mergeFrom(Settings other)
Parameter
Name Description
other Settings
Returns
Type Description
Settings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Settings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Settings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Settings.Builder
Overrides

mergeSinkSettings(SinkSettings value)

public Settings.Builder mergeSinkSettings(SinkSettings value)

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Parameter
Name Description
value SinkSettings
Returns
Type Description
Settings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Settings.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Settings.Builder mergeUpdateTime(Timestamp value)

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Settings.Builder

putAllComponentSettings(Map<String,ComponentSettings> values)

public Settings.Builder putAllComponentSettings(Map<String,ComponentSettings> values)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
Name Description
values Map<String,ComponentSettings>
Returns
Type Description
Settings.Builder

putAllDetectorGroupSettings(Map<String,Settings.DetectorGroupSettings> values)

public Settings.Builder putAllDetectorGroupSettings(Map<String,Settings.DetectorGroupSettings> values)

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;

Parameter
Name Description
values Map<String,DetectorGroupSettings>
Returns
Type Description
Settings.Builder

putComponentSettings(String key, ComponentSettings value)

public Settings.Builder putComponentSettings(String key, ComponentSettings value)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameters
Name Description
key String
value ComponentSettings
Returns
Type Description
Settings.Builder

putComponentSettingsBuilderIfAbsent(String key)

public ComponentSettings.Builder putComponentSettingsBuilderIfAbsent(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
Name Description
key String
Returns
Type Description
ComponentSettings.Builder

putDetectorGroupSettings(String key, Settings.DetectorGroupSettings value)

public Settings.Builder putDetectorGroupSettings(String key, Settings.DetectorGroupSettings value)

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;

Parameters
Name Description
key String
value Settings.DetectorGroupSettings
Returns
Type Description
Settings.Builder

putDetectorGroupSettingsBuilderIfAbsent(String key)

public Settings.DetectorGroupSettings.Builder putDetectorGroupSettingsBuilderIfAbsent(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;

Parameter
Name Description
key String
Returns
Type Description
Settings.DetectorGroupSettings.Builder

removeComponentSettings(String key)

public Settings.Builder removeComponentSettings(String key)

The settings for detectors and/or scanners.

map<string, .google.cloud.securitycenter.settings.v1beta1.ComponentSettings> component_settings = 7;

Parameter
Name Description
key String
Returns
Type Description
Settings.Builder

removeDetectorGroupSettings(String key)

public Settings.Builder removeDetectorGroupSettings(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;

Parameter
Name Description
key String
Returns
Type Description
Settings.Builder

setBillingSettings(BillingSettings value)

public Settings.Builder setBillingSettings(BillingSettings value)

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Parameter
Name Description
value BillingSettings
Returns
Type Description
Settings.Builder

setBillingSettings(BillingSettings.Builder builderForValue)

public Settings.Builder setBillingSettings(BillingSettings.Builder builderForValue)

Billing settings

.google.cloud.securitycenter.settings.v1beta1.BillingSettings billing_settings = 2;

Parameter
Name Description
builderForValue BillingSettings.Builder
Returns
Type Description
Settings.Builder

setEtag(String value)

public Settings.Builder setEtag(String value)

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

string etag = 9;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Settings.Builder setEtagBytes(ByteString value)

A fingerprint used for optimistic concurrency. If none is provided on updates then the existing metadata will be blindly overwritten.

string etag = 9;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.Builder
Overrides

setName(String value)

public Settings.Builder setName(String value)

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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Settings.Builder setNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setOrgServiceAccount(String value)

public Settings.Builder setOrgServiceAccount(String value)

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];

Parameter
Name Description
value String

The orgServiceAccount to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setOrgServiceAccountBytes(ByteString value)

public Settings.Builder setOrgServiceAccountBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for orgServiceAccount to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Settings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Settings.Builder
Overrides

setSinkSettings(SinkSettings value)

public Settings.Builder setSinkSettings(SinkSettings value)

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Parameter
Name Description
value SinkSettings
Returns
Type Description
Settings.Builder

setSinkSettings(SinkSettings.Builder builderForValue)

public Settings.Builder setSinkSettings(SinkSettings.Builder builderForValue)

Sink settings.

.google.cloud.securitycenter.settings.v1beta1.SinkSettings sink_settings = 6;

Parameter
Name Description
builderForValue SinkSettings.Builder
Returns
Type Description
Settings.Builder

setState(Settings.OnboardingState value)

public Settings.Builder setState(Settings.OnboardingState value)

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Parameter
Name Description
value Settings.OnboardingState

The state to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setStateValue(int value)

public Settings.Builder setStateValue(int value)

An enum representing the current on boarding state of SCC.

.google.cloud.securitycenter.settings.v1beta1.Settings.OnboardingState state = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Settings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Settings.Builder
Overrides

setUpdateTime(Timestamp value)

public Settings.Builder setUpdateTime(Timestamp value)

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Settings.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Settings.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time these settings were last updated.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Settings.Builder