public static final class ScanRunLog.Builder extends GeneratedMessageV3.Builder<ScanRunLog.Builder> implements ScanRunLogOrBuilder
A 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: 9Protobuf type
google.cloud.websecurityscanner.v1.ScanRunLog
Modifier and Type | Method and Description |
---|---|
ScanRunLog.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ScanRunLog |
build() |
ScanRunLog |
buildPartial() |
ScanRunLog.Builder |
clear() |
ScanRunLog.Builder |
clearErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunLog.Builder |
clearExecutionState()
The execution state of the ScanRun.
|
ScanRunLog.Builder |
clearField(Descriptors.FieldDescriptor field) |
ScanRunLog.Builder |
clearHasFindings()
bool has_findings = 7; |
ScanRunLog.Builder |
clearName()
The resource name of the ScanRun being logged.
|
ScanRunLog.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ScanRunLog.Builder |
clearResultState()
The result state of the ScanRun.
|
ScanRunLog.Builder |
clearSummary()
Human friendly message about the event.
|
ScanRunLog.Builder |
clearUrlsCrawledCount()
int64 urls_crawled_count = 5; |
ScanRunLog.Builder |
clearUrlsTestedCount()
int64 urls_tested_count = 6; |
ScanRunLog.Builder |
clone() |
ScanRunLog |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
ScanRunErrorTrace |
getErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunErrorTrace.Builder |
getErrorTraceBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunErrorTraceOrBuilder |
getErrorTraceOrBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRun.ExecutionState |
getExecutionState()
The execution state of the ScanRun.
|
int |
getExecutionStateValue()
The execution state of the ScanRun.
|
boolean |
getHasFindings()
bool has_findings = 7; |
String |
getName()
The resource name of the ScanRun being logged.
|
ByteString |
getNameBytes()
The resource name of the ScanRun being logged.
|
ScanRun.ResultState |
getResultState()
The result state of the ScanRun.
|
int |
getResultStateValue()
The result state of the ScanRun.
|
String |
getSummary()
Human friendly message about the event.
|
ByteString |
getSummaryBytes()
Human friendly message about the event.
|
long |
getUrlsCrawledCount()
int64 urls_crawled_count = 5; |
long |
getUrlsTestedCount()
int64 urls_tested_count = 6; |
boolean |
hasErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ScanRunLog.Builder |
mergeErrorTrace(ScanRunErrorTrace value)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunLog.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ScanRunLog.Builder |
mergeFrom(Message other) |
ScanRunLog.Builder |
mergeFrom(ScanRunLog other) |
ScanRunLog.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ScanRunLog.Builder |
setErrorTrace(ScanRunErrorTrace.Builder builderForValue)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunLog.Builder |
setErrorTrace(ScanRunErrorTrace value)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8; |
ScanRunLog.Builder |
setExecutionState(ScanRun.ExecutionState value)
The execution state of the ScanRun.
|
ScanRunLog.Builder |
setExecutionStateValue(int value)
The execution state of the ScanRun.
|
ScanRunLog.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ScanRunLog.Builder |
setHasFindings(boolean value)
bool has_findings = 7; |
ScanRunLog.Builder |
setName(String value)
The resource name of the ScanRun being logged.
|
ScanRunLog.Builder |
setNameBytes(ByteString value)
The resource name of the ScanRun being logged.
|
ScanRunLog.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ScanRunLog.Builder |
setResultState(ScanRun.ResultState value)
The result state of the ScanRun.
|
ScanRunLog.Builder |
setResultStateValue(int value)
The result state of the ScanRun.
|
ScanRunLog.Builder |
setSummary(String value)
Human friendly message about the event.
|
ScanRunLog.Builder |
setSummaryBytes(ByteString value)
Human friendly message about the event.
|
ScanRunLog.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ScanRunLog.Builder |
setUrlsCrawledCount(long value)
int64 urls_crawled_count = 5; |
ScanRunLog.Builder |
setUrlsTestedCount(long value)
int64 urls_tested_count = 6; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ScanRunLog build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ScanRunLog buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ScanRunLog.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder mergeFrom(ScanRunLog other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public ScanRunLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ScanRunLog.Builder>
IOException
public String getSummary()
Human friendly message about the event.
string summary = 1;
getSummary
in interface ScanRunLogOrBuilder
public ByteString getSummaryBytes()
Human friendly message about the event.
string summary = 1;
getSummaryBytes
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setSummary(String value)
Human friendly message about the event.
string summary = 1;
value
- The summary to set.public ScanRunLog.Builder clearSummary()
Human friendly message about the event.
string summary = 1;
public ScanRunLog.Builder setSummaryBytes(ByteString value)
Human friendly message about the event.
string summary = 1;
value
- The bytes for summary to set.public String getName()
The resource name of the ScanRun being logged.
string name = 2;
getName
in interface ScanRunLogOrBuilder
public ByteString getNameBytes()
The resource name of the ScanRun being logged.
string name = 2;
getNameBytes
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setName(String value)
The resource name of the ScanRun being logged.
string name = 2;
value
- The name to set.public ScanRunLog.Builder clearName()
The resource name of the ScanRun being logged.
string name = 2;
public ScanRunLog.Builder setNameBytes(ByteString value)
The resource name of the ScanRun being logged.
string name = 2;
value
- The bytes for name to set.public int getExecutionStateValue()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
getExecutionStateValue
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setExecutionStateValue(int value)
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
value
- The enum numeric value on the wire for executionState to set.public ScanRun.ExecutionState getExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
getExecutionState
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setExecutionState(ScanRun.ExecutionState value)
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
value
- The executionState to set.public ScanRunLog.Builder clearExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
public int getResultStateValue()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
getResultStateValue
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setResultStateValue(int value)
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
value
- The enum numeric value on the wire for resultState to set.public ScanRun.ResultState getResultState()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
getResultState
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setResultState(ScanRun.ResultState value)
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
value
- The resultState to set.public ScanRunLog.Builder clearResultState()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
public long getUrlsCrawledCount()
int64 urls_crawled_count = 5;
getUrlsCrawledCount
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setUrlsCrawledCount(long value)
int64 urls_crawled_count = 5;
value
- The urlsCrawledCount to set.public ScanRunLog.Builder clearUrlsCrawledCount()
int64 urls_crawled_count = 5;
public long getUrlsTestedCount()
int64 urls_tested_count = 6;
getUrlsTestedCount
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setUrlsTestedCount(long value)
int64 urls_tested_count = 6;
value
- The urlsTestedCount to set.public ScanRunLog.Builder clearUrlsTestedCount()
int64 urls_tested_count = 6;
public boolean getHasFindings()
bool has_findings = 7;
getHasFindings
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setHasFindings(boolean value)
bool has_findings = 7;
value
- The hasFindings to set.public ScanRunLog.Builder clearHasFindings()
bool has_findings = 7;
public boolean hasErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
hasErrorTrace
in interface ScanRunLogOrBuilder
public ScanRunErrorTrace getErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
getErrorTrace
in interface ScanRunLogOrBuilder
public ScanRunLog.Builder setErrorTrace(ScanRunErrorTrace value)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
public ScanRunLog.Builder setErrorTrace(ScanRunErrorTrace.Builder builderForValue)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
public ScanRunLog.Builder mergeErrorTrace(ScanRunErrorTrace value)
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
public ScanRunLog.Builder clearErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
public ScanRunErrorTrace.Builder getErrorTraceBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
getErrorTraceOrBuilder
in interface ScanRunLogOrBuilder
public final ScanRunLog.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
public final ScanRunLog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ScanRunLog.Builder>
Copyright © 2022 Google LLC. All rights reserved.