- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.4
- 2.1.1
- 2.0.15
public static final class CrawledUrl.Builder extends GeneratedMessageV3.Builder<CrawledUrl.Builder> implements CrawledUrlOrBuilder
A 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for url to set. |
Returns | |
---|---|
Type | Description |
CrawledUrl.Builder | This builder for chaining. |