Class BatchCalculateEffectiveSettingsResponse.Builder (0.50.0)

public static final class BatchCalculateEffectiveSettingsResponse.Builder extends GeneratedMessageV3.Builder<BatchCalculateEffectiveSettingsResponse.Builder> implements BatchCalculateEffectiveSettingsResponseOrBuilder

Response message for BatchGetEffectiveSettings.

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

Static Methods

getDescriptor()

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

Methods

addAllSettings(Iterable<? extends Settings> values)

public BatchCalculateEffectiveSettingsResponse.Builder addAllSettings(Iterable<? extends Settings> values)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.settings.v1beta1.Settings>
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSettings(Settings value)

public BatchCalculateEffectiveSettingsResponse.Builder addSettings(Settings value)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
value Settings
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

addSettings(Settings.Builder builderForValue)

public BatchCalculateEffectiveSettingsResponse.Builder addSettings(Settings.Builder builderForValue)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

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

addSettings(int index, Settings value)

public BatchCalculateEffectiveSettingsResponse.Builder addSettings(int index, Settings value)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameters
Name Description
index int
value Settings
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

addSettings(int index, Settings.Builder builderForValue)

public BatchCalculateEffectiveSettingsResponse.Builder addSettings(int index, Settings.Builder builderForValue)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameters
Name Description
index int
builderForValue Settings.Builder
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

addSettingsBuilder()

public Settings.Builder addSettingsBuilder()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
Settings.Builder

addSettingsBuilder(int index)

public Settings.Builder addSettingsBuilder(int index)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Settings.Builder

build()

public BatchCalculateEffectiveSettingsResponse build()
Returns
Type Description
BatchCalculateEffectiveSettingsResponse

buildPartial()

public BatchCalculateEffectiveSettingsResponse buildPartial()
Returns
Type Description
BatchCalculateEffectiveSettingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSettings()

public BatchCalculateEffectiveSettingsResponse.Builder clearSettings()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCalculateEffectiveSettingsResponse

getDescriptorForType()

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

getSettings(int index)

public Settings getSettings(int index)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Settings

getSettingsBuilder(int index)

public Settings.Builder getSettingsBuilder(int index)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
index int
Returns
Type Description
Settings.Builder

getSettingsBuilderList()

public List<Settings.Builder> getSettingsBuilderList()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
List<Builder>

getSettingsCount()

public int getSettingsCount()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
int

getSettingsList()

public List<Settings> getSettingsList()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
List<Settings>

getSettingsOrBuilder(int index)

public SettingsOrBuilder getSettingsOrBuilder(int index)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
index int
Returns
Type Description
SettingsOrBuilder

getSettingsOrBuilderList()

public List<? extends SettingsOrBuilder> getSettingsOrBuilderList()

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.settings.v1beta1.SettingsOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCalculateEffectiveSettingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSettings(int index)

public BatchCalculateEffectiveSettingsResponse.Builder removeSettings(int index)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSettings(int index, Settings value)

public BatchCalculateEffectiveSettingsResponse.Builder setSettings(int index, Settings value)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameters
Name Description
index int
value Settings
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

setSettings(int index, Settings.Builder builderForValue)

public BatchCalculateEffectiveSettingsResponse.Builder setSettings(int index, Settings.Builder builderForValue)

Settings requested.

repeated .google.cloud.securitycenter.settings.v1beta1.Settings settings = 1;

Parameters
Name Description
index int
builderForValue Settings.Builder
Returns
Type Description
BatchCalculateEffectiveSettingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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