Class InspectContentResponse.Builder (3.47.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectContentResponse.Builder
Overrides

build()

public InspectContentResponse build()
Returns
Type Description
InspectContentResponse

buildPartial()

public InspectContentResponse buildPartial()
Returns
Type Description
InspectContentResponse

clear()

public InspectContentResponse.Builder clear()
Returns
Type Description
InspectContentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InspectContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InspectContentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InspectContentResponse.Builder
Overrides

clearResult()

public InspectContentResponse.Builder clearResult()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
Type Description
InspectContentResponse.Builder

clone()

public InspectContentResponse.Builder clone()
Returns
Type Description
InspectContentResponse.Builder
Overrides

getDefaultInstanceForType()

public InspectContentResponse getDefaultInstanceForType()
Returns
Type Description
InspectContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResult()

public InspectResult getResult()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
Type Description
InspectResult

The result.

getResultBuilder()

public InspectResult.Builder getResultBuilder()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
Type Description
InspectResult.Builder

getResultOrBuilder()

public InspectResultOrBuilder getResultOrBuilder()

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Returns
Type Description
InspectResultOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InspectContentResponse other)

public InspectContentResponse.Builder mergeFrom(InspectContentResponse other)
Parameter
Name Description
other InspectContentResponse
Returns
Type Description
InspectContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectContentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InspectContentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InspectContentResponse.Builder
Overrides

mergeResult(InspectResult value)

public InspectContentResponse.Builder mergeResult(InspectResult value)

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Parameter
Name Description
value InspectResult
Returns
Type Description
InspectContentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectContentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InspectContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InspectContentResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InspectContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InspectContentResponse.Builder
Overrides

setResult(InspectResult value)

public InspectContentResponse.Builder setResult(InspectResult value)

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Parameter
Name Description
value InspectResult
Returns
Type Description
InspectContentResponse.Builder

setResult(InspectResult.Builder builderForValue)

public InspectContentResponse.Builder setResult(InspectResult.Builder builderForValue)

The findings.

.google.privacy.dlp.v2.InspectResult result = 1;

Parameter
Name Description
builderForValue InspectResult.Builder
Returns
Type Description
InspectContentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InspectContentResponse.Builder
Overrides