Class BatchGetSettingsResponse.Builder (0.49.0)

public static final class BatchGetSettingsResponse.Builder extends GeneratedMessageV3.Builder<BatchGetSettingsResponse.Builder> implements BatchGetSettingsResponseOrBuilder

Response message for BatchGetSettings.

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

Static Methods

getDescriptor()

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

Methods

addAllSettings(Iterable<? extends Settings> values)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSettings(Settings value)

public BatchGetSettingsResponse.Builder addSettings(Settings value)

Settings requested.

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

Parameter
Name Description
value Settings
Returns
Type Description
BatchGetSettingsResponse.Builder

addSettings(Settings.Builder builderForValue)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.Builder

addSettings(int index, Settings value)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.Builder

addSettings(int index, Settings.Builder builderForValue)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.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 BatchGetSettingsResponse build()
Returns
Type Description
BatchGetSettingsResponse

buildPartial()

public BatchGetSettingsResponse buildPartial()
Returns
Type Description
BatchGetSettingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSettings()

public BatchGetSettingsResponse.Builder clearSettings()

Settings requested.

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

Returns
Type Description
BatchGetSettingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchGetSettingsResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetSettingsResponse

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(BatchGetSettingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSettings(int index)

public BatchGetSettingsResponse.Builder removeSettings(int index)

Settings requested.

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

Parameter
Name Description
index int
Returns
Type Description
BatchGetSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSettings(int index, Settings value)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.Builder

setSettings(int index, Settings.Builder builderForValue)

public BatchGetSettingsResponse.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
BatchGetSettingsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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