Class ListScanConfigsResponse.Builder (2.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1alpha.ScanConfig>
Returns
TypeDescription
ListScanConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListScanConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueScanConfig
Returns
TypeDescription
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
NameDescription
builderForValueScanConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueScanConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueScanConfig.Builder
Returns
TypeDescription
ListScanConfigsResponse.Builder

addScanConfigsBuilder()

public ScanConfig.Builder addScanConfigsBuilder()

The list of ScanConfigs returned.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ScanConfig.Builder

build()

public ListScanConfigsResponse build()
Returns
TypeDescription
ListScanConfigsResponse

buildPartial()

public ListScanConfigsResponse buildPartial()
Returns
TypeDescription
ListScanConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListScanConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListScanConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScanConfigs()

public ListScanConfigsResponse.Builder clearScanConfigs()

The list of ScanConfigs returned.

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

Returns
TypeDescription
ListScanConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListScanConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListScanConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ScanConfig.Builder

getScanConfigsBuilderList()

public List<ScanConfig.Builder> getScanConfigsBuilderList()

The list of ScanConfigs returned.

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

Returns
TypeDescription
List<Builder>

getScanConfigsCount()

public int getScanConfigsCount()

The list of ScanConfigs returned.

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

Returns
TypeDescription
int

getScanConfigsList()

public List<ScanConfig> getScanConfigsList()

The list of ScanConfigs returned.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ScanConfigOrBuilder

getScanConfigsOrBuilderList()

public List<? extends ScanConfigOrBuilder> getScanConfigsOrBuilderList()

The list of ScanConfigs returned.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListScanConfigsResponse other)

public ListScanConfigsResponse.Builder mergeFrom(ListScanConfigsResponse other)
Parameter
NameDescription
otherListScanConfigsResponse
Returns
TypeDescription
ListScanConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListScanConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListScanConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListScanConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueScanConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueScanConfig.Builder
Returns
TypeDescription
ListScanConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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