Class ListCrawledUrlsResponse.Builder (2.22.0)

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

Response for the ListCrawledUrls method.

Protobuf type google.cloud.websecurityscanner.v1beta.ListCrawledUrlsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCrawledUrls(Iterable<? extends CrawledUrl> values)

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

The list of CrawledUrls returned.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1beta.CrawledUrl>
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

addCrawledUrls(CrawledUrl value)

public ListCrawledUrlsResponse.Builder addCrawledUrls(CrawledUrl value)

The list of CrawledUrls returned.

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

Parameter
NameDescription
valueCrawledUrl
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

addCrawledUrls(CrawledUrl.Builder builderForValue)

public ListCrawledUrlsResponse.Builder addCrawledUrls(CrawledUrl.Builder builderForValue)

The list of CrawledUrls returned.

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

Parameter
NameDescription
builderForValueCrawledUrl.Builder
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

addCrawledUrls(int index, CrawledUrl value)

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

The list of CrawledUrls returned.

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

Parameters
NameDescription
indexint
valueCrawledUrl
Returns
TypeDescription
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.v1beta.CrawledUrl crawled_urls = 1;

Parameters
NameDescription
indexint
builderForValueCrawledUrl.Builder
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

addCrawledUrlsBuilder()

public CrawledUrl.Builder addCrawledUrlsBuilder()

The list of CrawledUrls returned.

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

Returns
TypeDescription
CrawledUrl.Builder

addCrawledUrlsBuilder(int index)

public CrawledUrl.Builder addCrawledUrlsBuilder(int index)

The list of CrawledUrls returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CrawledUrl.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCrawledUrlsResponse build()
Returns
TypeDescription
ListCrawledUrlsResponse

buildPartial()

public ListCrawledUrlsResponse buildPartial()
Returns
TypeDescription
ListCrawledUrlsResponse

clear()

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

clearCrawledUrls()

public ListCrawledUrlsResponse.Builder clearCrawledUrls()

The list of CrawledUrls returned.

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

Returns
TypeDescription
ListCrawledUrlsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCrawledUrls(int index)

public CrawledUrl getCrawledUrls(int index)

The list of CrawledUrls returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CrawledUrl

getCrawledUrlsBuilder(int index)

public CrawledUrl.Builder getCrawledUrlsBuilder(int index)

The list of CrawledUrls returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CrawledUrl.Builder

getCrawledUrlsBuilderList()

public List<CrawledUrl.Builder> getCrawledUrlsBuilderList()

The list of CrawledUrls returned.

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

Returns
TypeDescription
List<Builder>

getCrawledUrlsCount()

public int getCrawledUrlsCount()

The list of CrawledUrls returned.

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

Returns
TypeDescription
int

getCrawledUrlsList()

public List<CrawledUrl> getCrawledUrlsList()

The list of CrawledUrls returned.

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

Returns
TypeDescription
List<CrawledUrl>

getCrawledUrlsOrBuilder(int index)

public CrawledUrlOrBuilder getCrawledUrlsOrBuilder(int index)

The list of CrawledUrls returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CrawledUrlOrBuilder

getCrawledUrlsOrBuilderList()

public List<? extends CrawledUrlOrBuilder> getCrawledUrlsOrBuilderList()

The list of CrawledUrls returned.

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

Returns
TypeDescription
List<? extends com.google.cloud.websecurityscanner.v1beta.CrawledUrlOrBuilder>

getDefaultInstanceForType()

public ListCrawledUrlsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCrawledUrlsResponse

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCrawledUrlsResponse other)

public ListCrawledUrlsResponse.Builder mergeFrom(ListCrawledUrlsResponse other)
Parameter
NameDescription
otherListCrawledUrlsResponse
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCrawledUrls(int index)

public ListCrawledUrlsResponse.Builder removeCrawledUrls(int index)

The list of CrawledUrls returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

setCrawledUrls(int index, CrawledUrl value)

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

The list of CrawledUrls returned.

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

Parameters
NameDescription
indexint
valueCrawledUrl
Returns
TypeDescription
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.v1beta.CrawledUrl crawled_urls = 1;

Parameters
NameDescription
indexint
builderForValueCrawledUrl.Builder
Returns
TypeDescription
ListCrawledUrlsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCrawledUrlsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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