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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocumentLocation build()
buildPartial()
public DocumentLocation buildPartial()
clear()
public DocumentLocation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocumentLocation.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DocumentLocation.Builder clone()
Overrides
getDefaultInstanceForType()
public DocumentLocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocumentLocation other)
public DocumentLocation.Builder mergeFrom(DocumentLocation other)
public DocumentLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocumentLocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides