Class BatchCalculateEffectiveSettingsResponse.Builder (0.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.settings.v1beta1.Settings>
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSettings(Settings value)

public BatchCalculateEffectiveSettingsResponse.Builder addSettings(Settings value)

Settings requested.

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

Parameter
NameDescription
valueSettings
Returns
TypeDescription
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
NameDescription
builderForValueSettings.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSettings
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSettings.Builder
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

addSettingsBuilder()

public Settings.Builder addSettingsBuilder()

Settings requested.

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

Returns
TypeDescription
Settings.Builder

addSettingsBuilder(int index)

public Settings.Builder addSettingsBuilder(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Settings.Builder

build()

public BatchCalculateEffectiveSettingsResponse build()
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse

buildPartial()

public BatchCalculateEffectiveSettingsResponse buildPartial()
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchCalculateEffectiveSettingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCalculateEffectiveSettingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder
Overrides

clearSettings()

public BatchCalculateEffectiveSettingsResponse.Builder clearSettings()

Settings requested.

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

Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

clone()

public BatchCalculateEffectiveSettingsResponse.Builder clone()
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchCalculateEffectiveSettingsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSettings(int index)

public Settings getSettings(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Settings

getSettingsBuilder(int index)

public Settings.Builder getSettingsBuilder(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Settings.Builder

getSettingsBuilderList()

public List<Settings.Builder> getSettingsBuilderList()

Settings requested.

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

Returns
TypeDescription
List<Builder>

getSettingsCount()

public int getSettingsCount()

Settings requested.

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

Returns
TypeDescription
int

getSettingsList()

public List<Settings> getSettingsList()

Settings requested.

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

Returns
TypeDescription
List<Settings>

getSettingsOrBuilder(int index)

public SettingsOrBuilder getSettingsOrBuilder(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SettingsOrBuilder

getSettingsOrBuilderList()

public List<? extends SettingsOrBuilder> getSettingsOrBuilderList()

Settings requested.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCalculateEffectiveSettingsResponse other)

public BatchCalculateEffectiveSettingsResponse.Builder mergeFrom(BatchCalculateEffectiveSettingsResponse other)
Parameter
NameDescription
otherBatchCalculateEffectiveSettingsResponse
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCalculateEffectiveSettingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder
Overrides

removeSettings(int index)

public BatchCalculateEffectiveSettingsResponse.Builder removeSettings(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BatchCalculateEffectiveSettingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSettings
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSettings.Builder
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCalculateEffectiveSettingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCalculateEffectiveSettingsResponse.Builder
Overrides