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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSettings(Settings value)

public BatchGetSettingsResponse.Builder addSettings(Settings value)

Settings requested.

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

Parameter
NameDescription
valueSettings
Returns
TypeDescription
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
NameDescription
builderForValueSettings.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSettings
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSettings.Builder
Returns
TypeDescription
BatchGetSettingsResponse.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 BatchGetSettingsResponse build()
Returns
TypeDescription
BatchGetSettingsResponse

buildPartial()

public BatchGetSettingsResponse buildPartial()
Returns
TypeDescription
BatchGetSettingsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSettings()

public BatchGetSettingsResponse.Builder clearSettings()

Settings requested.

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

Returns
TypeDescription
BatchGetSettingsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchGetSettingsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchGetSettingsResponse

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

public BatchGetSettingsResponse.Builder mergeFrom(BatchGetSettingsResponse other)
Parameter
NameDescription
otherBatchGetSettingsResponse
Returns
TypeDescription
BatchGetSettingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSettings(int index)

public BatchGetSettingsResponse.Builder removeSettings(int index)

Settings requested.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetSettingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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