Class InspectContentResponse.Builder (3.15.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public InspectContentResponse build()
Returns
TypeDescription
InspectContentResponse

buildPartial()

public InspectContentResponse buildPartial()
Returns
TypeDescription
InspectContentResponse

clear()

public InspectContentResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InspectContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResult(InspectResult value)

public InspectContentResponse.Builder mergeResult(InspectResult value)

The findings.

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

Parameter
NameDescription
valueInspectResult
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InspectContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setResult(InspectResult value)

public InspectContentResponse.Builder setResult(InspectResult value)

The findings.

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

Parameter
NameDescription
valueInspectResult
Returns

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

setUnknownFields(UnknownFieldSet unknownFields)

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