Class InspectContentResponse.Builder (3.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InspectContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

build()

public InspectContentResponse build()
Returns
TypeDescription
InspectContentResponse

buildPartial()

public InspectContentResponse buildPartial()
Returns
TypeDescription
InspectContentResponse

clear()

public InspectContentResponse.Builder clear()
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InspectContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

clearResult()

public InspectContentResponse.Builder clearResult()

The findings.

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

Returns
TypeDescription
InspectContentResponse.Builder

clone()

public InspectContentResponse.Builder clone()
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

getDefaultInstanceForType()

public InspectContentResponse getDefaultInstanceForType()
Returns
TypeDescription
InspectContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public InspectResult getResult()

The findings.

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

Returns
TypeDescription
InspectResult

The result.

getResultBuilder()

public InspectResult.Builder getResultBuilder()

The findings.

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

Returns
TypeDescription
InspectResult.Builder

getResultOrBuilder()

public InspectResultOrBuilder getResultOrBuilder()

The findings.

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

Returns
TypeDescription
InspectResultOrBuilder

hasResult()

public boolean hasResult()

The findings.

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

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InspectContentResponse other)

public InspectContentResponse.Builder mergeFrom(InspectContentResponse other)
Parameter
NameDescription
otherInspectContentResponse
Returns
TypeDescription
InspectContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InspectContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InspectContentResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InspectContentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

mergeResult(InspectResult value)

public InspectContentResponse.Builder mergeResult(InspectResult value)

The findings.

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

Parameter
NameDescription
valueInspectResult
Returns
TypeDescription
InspectContentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InspectContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InspectContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

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

public InspectContentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InspectContentResponse.Builder
Overrides

setResult(InspectResult value)

public InspectContentResponse.Builder setResult(InspectResult value)

The findings.

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

Parameter
NameDescription
valueInspectResult
Returns
TypeDescription
InspectContentResponse.Builder

setResult(InspectResult.Builder builderForValue)

public InspectContentResponse.Builder setResult(InspectResult.Builder builderForValue)

The findings.

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

Parameter
NameDescription
builderForValueInspectResult.Builder
Returns
TypeDescription
InspectContentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InspectContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InspectContentResponse.Builder
Overrides