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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentLocation.BuilderImplements
DocumentLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentLocation.Builder |
build()
public DocumentLocation build()
Type | Description |
DocumentLocation |
buildPartial()
public DocumentLocation buildPartial()
Type | Description |
DocumentLocation |
clear()
public DocumentLocation.Builder clear()
Type | Description |
DocumentLocation.Builder |
clearField(Descriptors.FieldDescriptor field)
public DocumentLocation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DocumentLocation.Builder |
clearFileOffset()
public DocumentLocation.Builder clearFileOffset()
Offset of the line, from the beginning of the file, where the finding is located.
int64 file_offset = 1;
Type | Description |
DocumentLocation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DocumentLocation.Builder |
clone()
public DocumentLocation.Builder clone()
Type | Description |
DocumentLocation.Builder |
getDefaultInstanceForType()
public DocumentLocation getDefaultInstanceForType()
Type | Description |
DocumentLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFileOffset()
public long getFileOffset()
Offset of the line, from the beginning of the file, where the finding is located.
int64 file_offset = 1;
Type | Description |
long | The fileOffset. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DocumentLocation other)
public DocumentLocation.Builder mergeFrom(DocumentLocation other)
Name | Description |
other | DocumentLocation |
Type | Description |
DocumentLocation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DocumentLocation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DocumentLocation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DocumentLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentLocation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentLocation.Builder |
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;
Name | Description |
value | long The fileOffset to set. |
Type | Description |
DocumentLocation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DocumentLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentLocation.Builder |