public static final class DocumentLocation.Builder extends GeneratedMessageV3.Builder<DocumentLocation.Builder> implements DocumentLocationOrBuilder
Location of a finding within a document.
Protobuf type google.privacy.dlp.v2.DocumentLocation
Inherited Members
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DocumentLocation build()
Returns
buildPartial()
public DocumentLocation buildPartial()
Returns
clear()
public DocumentLocation.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFileOffset()
public DocumentLocation.Builder clearFileOffset()
Offset of the line, from the beginning of the file, where the finding
is located.
int64 file_offset = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DocumentLocation.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DocumentLocation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFileOffset()
public long getFileOffset()
Offset of the line, from the beginning of the file, where the finding
is located.
int64 file_offset = 1;
Returns
Type | Description |
long | The fileOffset.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DocumentLocation other)
public DocumentLocation.Builder mergeFrom(DocumentLocation other)
Parameter
Returns
public DocumentLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DocumentLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFileOffset(long value)
public DocumentLocation.Builder setFileOffset(long value)
Offset of the line, from the beginning of the file, where the finding
is located.
int64 file_offset = 1;
Parameter
Name | Description |
value | long
The fileOffset to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides