Class Settings.Builder (0.42.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Settings.Builder
Overrides

build()

public Settings build()
Returns
TypeDescription
Settings

buildPartial()

public Settings buildPartial()
Returns
TypeDescription
Settings

clear()

public Settings.Builder clear()
Returns
TypeDescription
Settings.Builder
Overrides

clearBillingSettings()

public Settings.Builder clearBillingSettings()

Billing settings

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

Returns
TypeDescription
Settings.Builder

clearComponentSettings()

public Settings.Builder clearComponentSettings()
Returns
TypeDescription
Settings.Builder

clearDetectorGroupSettings()

public Settings.Builder clearDetectorGroupSettings()
Returns
TypeDescription
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
TypeDescription
Settings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Settings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Settings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Settings.Builder

This builder for chaining.

clearSinkSettings()

public Settings.Builder clearSinkSettings()

Sink settings.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Settings.Builder

clone()

public Settings.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getBillingSettings()

public BillingSettings getBillingSettings()

Billing settings

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

Returns
TypeDescription
BillingSettings

The billingSettings.

getBillingSettingsBuilder()

public BillingSettings.Builder getBillingSettingsBuilder()

Billing settings

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

Returns
TypeDescription
BillingSettings.Builder

getBillingSettingsOrBuilder()

public BillingSettingsOrBuilder getBillingSettingsOrBuilder()

Billing settings

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

Returns
TypeDescription
BillingSettingsOrBuilder

getComponentSettings() (deprecated)

public Map<String,ComponentSettings> getComponentSettings()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueComponentSettings
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ComponentSettings

getDefaultInstanceForType()

public Settings getDefaultInstanceForType()
Returns
TypeDescription
Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetectorGroupSettings() (deprecated)

public Map<String,Settings.DetectorGroupSettings> getDetectorGroupSettings()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueSettings.DetectorGroupSettings
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for etag.

getMutableComponentSettings() (deprecated)

public Map<String,ComponentSettings> getMutableComponentSettings()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ComponentSettings>

getMutableDetectorGroupSettings() (deprecated)

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

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for orgServiceAccount.

getSinkSettings()

public SinkSettings getSinkSettings()

Sink settings.

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

Returns
TypeDescription
SinkSettings

The sinkSettings.

getSinkSettingsBuilder()

public SinkSettings.Builder getSinkSettingsBuilder()

Sink settings.

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

Returns
TypeDescription
SinkSettings.Builder

getSinkSettingsOrBuilder()

public SinkSettingsOrBuilder getSinkSettingsOrBuilder()

Sink settings.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

hasBillingSettings()

public boolean hasBillingSettings()

Billing settings

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

Returns
TypeDescription
boolean

Whether the billingSettings field is set.

hasSinkSettings()

public boolean hasSinkSettings()

Sink settings.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBillingSettings(BillingSettings value)

public Settings.Builder mergeBillingSettings(BillingSettings value)

Billing settings

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

Parameter
NameDescription
valueBillingSettings
Returns
TypeDescription
Settings.Builder

mergeFrom(Settings other)

public Settings.Builder mergeFrom(Settings other)
Parameter
NameDescription
otherSettings
Returns
TypeDescription
Settings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Settings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Settings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Settings.Builder
Overrides

mergeSinkSettings(SinkSettings value)

public Settings.Builder mergeSinkSettings(SinkSettings value)

Sink settings.

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

Parameter
NameDescription
valueSinkSettings
Returns
TypeDescription
Settings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,ComponentSettings>
Returns
TypeDescription
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
NameDescription
valuesMap<String,DetectorGroupSettings>
Returns
TypeDescription
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
NameDescription
keyString
valueComponentSettings
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
valueSettings.DetectorGroupSettings
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
Settings.Builder

setBillingSettings(BillingSettings value)

public Settings.Builder setBillingSettings(BillingSettings value)

Billing settings

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

Parameter
NameDescription
valueBillingSettings
Returns
TypeDescription
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
NameDescription
builderForValueBillingSettings.Builder
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The orgServiceAccount to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for orgServiceAccount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Settings.Builder
Overrides

setSinkSettings(SinkSettings value)

public Settings.Builder setSinkSettings(SinkSettings value)

Sink settings.

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

Parameter
NameDescription
valueSinkSettings
Returns
TypeDescription
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
NameDescription
builderForValueSinkSettings.Builder
Returns
TypeDescription
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
NameDescription
valueSettings.OnboardingState

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Settings.Builder