Class ListScanConfigsResponse.Builder (2.48.0)

public static final class ListScanConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListScanConfigsResponse.Builder> implements ListScanConfigsResponseOrBuilder

Response for the ListScanConfigs method.

Protobuf type google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllScanConfigs(Iterable<? extends ScanConfig> values)

public ListScanConfigsResponse.Builder addAllScanConfigs(Iterable<? extends ScanConfig> values)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1alpha.ScanConfig>
Returns
Type Description
ListScanConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addScanConfigs(ScanConfig value)

public ListScanConfigsResponse.Builder addScanConfigs(ScanConfig value)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder addScanConfigs(ScanConfig.Builder builderForValue)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(int index, ScanConfig value)

public ListScanConfigsResponse.Builder addScanConfigs(int index, ScanConfig value)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigs(int index, ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder addScanConfigs(int index, ScanConfig.Builder builderForValue)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

addScanConfigsBuilder()

public ScanConfig.Builder addScanConfigsBuilder()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
ScanConfig.Builder

addScanConfigsBuilder(int index)

public ScanConfig.Builder addScanConfigsBuilder(int index)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig.Builder

build()

public ListScanConfigsResponse build()
Returns
Type Description
ListScanConfigsResponse

buildPartial()

public ListScanConfigsResponse buildPartial()
Returns
Type Description
ListScanConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListScanConfigsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanConfigs()

public ListScanConfigsResponse.Builder clearScanConfigs()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
ListScanConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListScanConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListScanConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getScanConfigs(int index)

public ScanConfig getScanConfigs(int index)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig

getScanConfigsBuilder(int index)

public ScanConfig.Builder getScanConfigsBuilder(int index)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfig.Builder

getScanConfigsBuilderList()

public List<ScanConfig.Builder> getScanConfigsBuilderList()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
List<Builder>

getScanConfigsCount()

public int getScanConfigsCount()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
int

getScanConfigsList()

public List<ScanConfig> getScanConfigsList()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
List<ScanConfig>

getScanConfigsOrBuilder(int index)

public ScanConfigOrBuilder getScanConfigsOrBuilder(int index)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ScanConfigOrBuilder

getScanConfigsOrBuilderList()

public List<? extends ScanConfigOrBuilder> getScanConfigsOrBuilderList()

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.websecurityscanner.v1alpha.ScanConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListScanConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeScanConfigs(int index)

public ListScanConfigsResponse.Builder removeScanConfigs(int index)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListScanConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListScanConfigsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListScanConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListScanConfigsResponse.Builder

This builder for chaining.

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

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

setScanConfigs(int index, ScanConfig value)

public ListScanConfigsResponse.Builder setScanConfigs(int index, ScanConfig value)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
value ScanConfig
Returns
Type Description
ListScanConfigsResponse.Builder

setScanConfigs(int index, ScanConfig.Builder builderForValue)

public ListScanConfigsResponse.Builder setScanConfigs(int index, ScanConfig.Builder builderForValue)

The list of ScanConfigs returned.

repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig scan_configs = 1;

Parameters
Name Description
index int
builderForValue ScanConfig.Builder
Returns
Type Description
ListScanConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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