- 2.78.0 (latest)
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.70.0
 - 2.68.0
 - 2.67.0
 - 2.64.0
 - 2.63.0
 - 2.62.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.51.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 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 ScanRunLog.Builder extends GeneratedMessageV3.Builder<ScanRunLog.Builder> implements ScanRunLogOrBuilderA ScanRunLog is an output-only proto used for Stackdriver customer logging. It is used for logs covering the start and end of scan pipelines. Other than an added summary, this is a subset of the ScanRun. Representation in logs is either a proto Struct, or converted to JSON. Next id: 9
 Protobuf type google.cloud.websecurityscanner.v1.ScanRunLog
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ScanRunLog.BuilderImplements
ScanRunLogOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScanRunLog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
build()
public ScanRunLog build()| Returns | |
|---|---|
| Type | Description | 
ScanRunLog | 
        |
buildPartial()
public ScanRunLog buildPartial()| Returns | |
|---|---|
| Type | Description | 
ScanRunLog | 
        |
clear()
public ScanRunLog.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
clearErrorTrace()
public ScanRunLog.Builder clearErrorTrace().google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
clearExecutionState()
public ScanRunLog.Builder clearExecutionState()The execution state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public ScanRunLog.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
clearHasFindings()
public ScanRunLog.Builder clearHasFindings()bool has_findings = 7;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearName()
public ScanRunLog.Builder clearName()The resource name of the ScanRun being logged.
 string name = 2;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public ScanRunLog.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
clearResultState()
public ScanRunLog.Builder clearResultState()The result state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearSummary()
public ScanRunLog.Builder clearSummary()Human friendly message about the event.
 string summary = 1;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearUrlsCrawledCount()
public ScanRunLog.Builder clearUrlsCrawledCount()int64 urls_crawled_count = 5;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clearUrlsTestedCount()
public ScanRunLog.Builder clearUrlsTestedCount()int64 urls_tested_count = 6;
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
clone()
public ScanRunLog.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
getDefaultInstanceForType()
public ScanRunLog getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ScanRunLog | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getErrorTrace()
public ScanRunErrorTrace getErrorTrace().google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Returns | |
|---|---|
| Type | Description | 
ScanRunErrorTrace | 
        The errorTrace.  | 
      
getErrorTraceBuilder()
public ScanRunErrorTrace.Builder getErrorTraceBuilder().google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Returns | |
|---|---|
| Type | Description | 
ScanRunErrorTrace.Builder | 
        |
getErrorTraceOrBuilder()
public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder().google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Returns | |
|---|---|
| Type | Description | 
ScanRunErrorTraceOrBuilder | 
        |
getExecutionState()
public ScanRun.ExecutionState getExecutionState()The execution state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
| Returns | |
|---|---|
| Type | Description | 
ScanRun.ExecutionState | 
        The executionState.  | 
      
getExecutionStateValue()
public int getExecutionStateValue()The execution state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for executionState.  | 
      
getHasFindings()
public boolean getHasFindings()bool has_findings = 7;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The hasFindings.  | 
      
getName()
public String getName()The resource name of the ScanRun being logged.
 string name = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()The resource name of the ScanRun being logged.
 string name = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getResultState()
public ScanRun.ResultState getResultState()The result state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
| Returns | |
|---|---|
| Type | Description | 
ScanRun.ResultState | 
        The resultState.  | 
      
getResultStateValue()
public int getResultStateValue()The result state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for resultState.  | 
      
getSummary()
public String getSummary()Human friendly message about the event.
 string summary = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The summary.  | 
      
getSummaryBytes()
public ByteString getSummaryBytes()Human friendly message about the event.
 string summary = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for summary.  | 
      
getUrlsCrawledCount()
public long getUrlsCrawledCount()int64 urls_crawled_count = 5;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The urlsCrawledCount.  | 
      
getUrlsTestedCount()
public long getUrlsTestedCount()int64 urls_tested_count = 6;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The urlsTestedCount.  | 
      
hasErrorTrace()
public boolean hasErrorTrace().google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the errorTrace field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeErrorTrace(ScanRunErrorTrace value)
public ScanRunLog.Builder mergeErrorTrace(ScanRunErrorTrace value).google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ScanRunErrorTrace | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
mergeFrom(ScanRunLog other)
public ScanRunLog.Builder mergeFrom(ScanRunLog other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ScanRunLog | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScanRunLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ScanRunLog.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScanRunLog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setErrorTrace(ScanRunErrorTrace value)
public ScanRunLog.Builder setErrorTrace(ScanRunErrorTrace value).google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ScanRunErrorTrace | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setErrorTrace(ScanRunErrorTrace.Builder builderForValue)
public ScanRunLog.Builder setErrorTrace(ScanRunErrorTrace.Builder builderForValue).google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        ScanRunErrorTrace.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setExecutionState(ScanRun.ExecutionState value)
public ScanRunLog.Builder setExecutionState(ScanRun.ExecutionState value)The execution state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ScanRun.ExecutionStateThe executionState to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setExecutionStateValue(int value)
public ScanRunLog.Builder setExecutionStateValue(int value)The execution state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for executionState to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public ScanRunLog.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setHasFindings(boolean value)
public ScanRunLog.Builder setHasFindings(boolean value)bool has_findings = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe hasFindings to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public ScanRunLog.Builder setName(String value)The resource name of the ScanRun being logged.
 string name = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public ScanRunLog.Builder setNameBytes(ByteString value)The resource name of the ScanRun being logged.
 string name = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScanRunLog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setResultState(ScanRun.ResultState value)
public ScanRunLog.Builder setResultState(ScanRun.ResultState value)The result state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ScanRun.ResultStateThe resultState to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setResultStateValue(int value)
public ScanRunLog.Builder setResultStateValue(int value)The result state of the ScanRun.
 .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for resultState to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setSummary(String value)
public ScanRunLog.Builder setSummary(String value)Human friendly message about the event.
 string summary = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe summary to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setSummaryBytes(ByteString value)
public ScanRunLog.Builder setSummaryBytes(ByteString value)Human friendly message about the event.
 string summary = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for summary to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final ScanRunLog.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        |
setUrlsCrawledCount(long value)
public ScanRunLog.Builder setUrlsCrawledCount(long value)int64 urls_crawled_count = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe urlsCrawledCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  | 
      
setUrlsTestedCount(long value)
public ScanRunLog.Builder setUrlsTestedCount(long value)int64 urls_tested_count = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe urlsTestedCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ScanRunLog.Builder | 
        This builder for chaining.  |