public static final class CrawledUrl.Builder extends GeneratedMessageV3.Builder<CrawledUrl.Builder> implements CrawledUrlOrBuilderA CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.
Protobuf type google.cloud.websecurityscanner.v1alpha.CrawledUrl
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CrawledUrl.BuilderImplements
CrawledUrlOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CrawledUrl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
build()
public CrawledUrl build()| Returns | |
|---|---|
| Type | Description |
CrawledUrl |
|
buildPartial()
public CrawledUrl buildPartial()| Returns | |
|---|---|
| Type | Description |
CrawledUrl |
|
clear()
public CrawledUrl.Builder clear()| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
clearBody()
public CrawledUrl.Builder clearBody()Output only. The body of the request that was used to visit the URL.
string body = 3;
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CrawledUrl.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
clearHttpMethod()
public CrawledUrl.Builder clearHttpMethod()Output only. The http method of the request that was used to visit the URL, in uppercase.
string http_method = 1;
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CrawledUrl.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
clearUrl()
public CrawledUrl.Builder clearUrl()Output only. The URL that was crawled.
string url = 2;
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
clone()
public CrawledUrl.Builder clone()| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
getBody()
public String getBody()Output only. The body of the request that was used to visit the URL.
string body = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public ByteString getBodyBytes()Output only. The body of the request that was used to visit the URL.
string body = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getDefaultInstanceForType()
public CrawledUrl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CrawledUrl |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHttpMethod()
public String getHttpMethod()Output only. The http method of the request that was used to visit the URL, in uppercase.
string http_method = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The httpMethod. |
getHttpMethodBytes()
public ByteString getHttpMethodBytes()Output only. The http method of the request that was used to visit the URL, in uppercase.
string http_method = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for httpMethod. |
getUrl()
public String getUrl()Output only. The URL that was crawled.
string url = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Output only. The URL that was crawled.
string url = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CrawledUrl other)
public CrawledUrl.Builder mergeFrom(CrawledUrl other)| Parameter | |
|---|---|
| Name | Description |
other |
CrawledUrl |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CrawledUrl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CrawledUrl.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CrawledUrl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
setBody(String value)
public CrawledUrl.Builder setBody(String value)Output only. The body of the request that was used to visit the URL.
string body = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe body to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
setBodyBytes(ByteString value)
public CrawledUrl.Builder setBodyBytes(ByteString value)Output only. The body of the request that was used to visit the URL.
string body = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for body to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CrawledUrl.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
setHttpMethod(String value)
public CrawledUrl.Builder setHttpMethod(String value)Output only. The http method of the request that was used to visit the URL, in uppercase.
string http_method = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe httpMethod to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
setHttpMethodBytes(ByteString value)
public CrawledUrl.Builder setHttpMethodBytes(ByteString value)Output only. The http method of the request that was used to visit the URL, in uppercase.
string http_method = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for httpMethod to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CrawledUrl.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CrawledUrl.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
|
setUrl(String value)
public CrawledUrl.Builder setUrl(String value)Output only. The URL that was crawled.
string url = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public CrawledUrl.Builder setUrlBytes(ByteString value)Output only. The URL that was crawled.
string url = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
CrawledUrl.Builder |
This builder for chaining. |