Class ListCrawledUrlsResponse.Builder (2.44.0)

public static final class ListCrawledUrlsResponse.Builder extends GeneratedMessageV3.Builder<ListCrawledUrlsResponse.Builder> implements ListCrawledUrlsResponseOrBuilder

Response for the ListCrawledUrls method.

Protobuf type google.cloud.websecurityscanner.v1.ListCrawledUrlsResponse

Static Methods

getDescriptor()

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

Methods

addAllCrawledUrls(Iterable<? extends CrawledUrl> values)

public ListCrawledUrlsResponse.Builder addAllCrawledUrls(Iterable<? extends CrawledUrl> values)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1.CrawledUrl>
Returns
Type Description
ListCrawledUrlsResponse.Builder

addCrawledUrls(CrawledUrl value)

public ListCrawledUrlsResponse.Builder addCrawledUrls(CrawledUrl value)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
value CrawledUrl
Returns
Type Description
ListCrawledUrlsResponse.Builder

addCrawledUrls(CrawledUrl.Builder builderForValue)

public ListCrawledUrlsResponse.Builder addCrawledUrls(CrawledUrl.Builder builderForValue)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
builderForValue CrawledUrl.Builder
Returns
Type Description
ListCrawledUrlsResponse.Builder

addCrawledUrls(int index, CrawledUrl value)

public ListCrawledUrlsResponse.Builder addCrawledUrls(int index, CrawledUrl value)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameters
Name Description
index int
value CrawledUrl
Returns
Type Description
ListCrawledUrlsResponse.Builder

addCrawledUrls(int index, CrawledUrl.Builder builderForValue)

public ListCrawledUrlsResponse.Builder addCrawledUrls(int index, CrawledUrl.Builder builderForValue)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameters
Name Description
index int
builderForValue CrawledUrl.Builder
Returns
Type Description
ListCrawledUrlsResponse.Builder

addCrawledUrlsBuilder()

public CrawledUrl.Builder addCrawledUrlsBuilder()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
CrawledUrl.Builder

addCrawledUrlsBuilder(int index)

public CrawledUrl.Builder addCrawledUrlsBuilder(int index)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
index int
Returns
Type Description
CrawledUrl.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCrawledUrlsResponse build()
Returns
Type Description
ListCrawledUrlsResponse

buildPartial()

public ListCrawledUrlsResponse buildPartial()
Returns
Type Description
ListCrawledUrlsResponse

clear()

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

clearCrawledUrls()

public ListCrawledUrlsResponse.Builder clearCrawledUrls()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
ListCrawledUrlsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCrawledUrls(int index)

public CrawledUrl getCrawledUrls(int index)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
index int
Returns
Type Description
CrawledUrl

getCrawledUrlsBuilder(int index)

public CrawledUrl.Builder getCrawledUrlsBuilder(int index)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
index int
Returns
Type Description
CrawledUrl.Builder

getCrawledUrlsBuilderList()

public List<CrawledUrl.Builder> getCrawledUrlsBuilderList()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
List<Builder>

getCrawledUrlsCount()

public int getCrawledUrlsCount()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
int

getCrawledUrlsList()

public List<CrawledUrl> getCrawledUrlsList()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
List<CrawledUrl>

getCrawledUrlsOrBuilder(int index)

public CrawledUrlOrBuilder getCrawledUrlsOrBuilder(int index)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
index int
Returns
Type Description
CrawledUrlOrBuilder

getCrawledUrlsOrBuilderList()

public List<? extends CrawledUrlOrBuilder> getCrawledUrlsOrBuilderList()

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Returns
Type Description
List<? extends com.google.cloud.websecurityscanner.v1.CrawledUrlOrBuilder>

getDefaultInstanceForType()

public ListCrawledUrlsResponse getDefaultInstanceForType()
Returns
Type Description
ListCrawledUrlsResponse

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCrawledUrlsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCrawledUrls(int index)

public ListCrawledUrlsResponse.Builder removeCrawledUrls(int index)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCrawledUrlsResponse.Builder

setCrawledUrls(int index, CrawledUrl value)

public ListCrawledUrlsResponse.Builder setCrawledUrls(int index, CrawledUrl value)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameters
Name Description
index int
value CrawledUrl
Returns
Type Description
ListCrawledUrlsResponse.Builder

setCrawledUrls(int index, CrawledUrl.Builder builderForValue)

public ListCrawledUrlsResponse.Builder setCrawledUrls(int index, CrawledUrl.Builder builderForValue)

The list of CrawledUrls returned.

repeated .google.cloud.websecurityscanner.v1.CrawledUrl crawled_urls = 1;

Parameters
Name Description
index int
builderForValue CrawledUrl.Builder
Returns
Type Description
ListCrawledUrlsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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