public static final class InspectContentResponse.Builder extends GeneratedMessageV3.Builder<InspectContentResponse.Builder> implements InspectContentResponseOrBuilder
Results of inspecting an item.
Protobuf type google.privacy.dlp.v2.InspectContentResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InspectContentResponse build()
Returns
buildPartial()
public InspectContentResponse buildPartial()
Returns
clear()
public InspectContentResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InspectContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResult()
public InspectContentResponse.Builder clearResult()
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Returns
clone()
public InspectContentResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InspectContentResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResult()
public InspectResult getResult()
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Returns
getResultBuilder()
public InspectResult.Builder getResultBuilder()
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Returns
getResultOrBuilder()
public InspectResultOrBuilder getResultOrBuilder()
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Returns
hasResult()
public boolean hasResult()
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Returns
Type | Description |
boolean | Whether the result field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InspectContentResponse other)
public InspectContentResponse.Builder mergeFrom(InspectContentResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InspectContentResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeResult(InspectResult value)
public InspectContentResponse.Builder mergeResult(InspectResult value)
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InspectContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResult(InspectResult value)
public InspectContentResponse.Builder setResult(InspectResult value)
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Parameter
Returns
setResult(InspectResult.Builder builderForValue)
public InspectContentResponse.Builder setResult(InspectResult.Builder builderForValue)
The findings.
.google.privacy.dlp.v2.InspectResult result = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides