public static final class Location.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder
Specifies the location of the finding.Protobuf type
google.privacy.dlp.v2.Location| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
addAllContentLocations(Iterable<? extends ContentLocation> values)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
addContentLocations(ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
addContentLocations(ContentLocation value)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
addContentLocations(int index,
ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
addContentLocations(int index,
ContentLocation value)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
ContentLocation.Builder |
addContentLocationsBuilder()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
ContentLocation.Builder |
addContentLocationsBuilder(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location |
build() |
Location |
buildPartial() |
Location.Builder |
clear() |
Location.Builder |
clearByteRange()
Zero-based byte offsets delimiting the finding.
|
Location.Builder |
clearCodepointRange()
Unicode character offsets delimiting the finding.
|
Location.Builder |
clearContainer()
Information about the container where this finding occurred, if available.
|
Location.Builder |
clearContentLocations()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Location.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Location.Builder |
clone() |
Range |
getByteRange()
Zero-based byte offsets delimiting the finding.
|
Range.Builder |
getByteRangeBuilder()
Zero-based byte offsets delimiting the finding.
|
RangeOrBuilder |
getByteRangeOrBuilder()
Zero-based byte offsets delimiting the finding.
|
Range |
getCodepointRange()
Unicode character offsets delimiting the finding.
|
Range.Builder |
getCodepointRangeBuilder()
Unicode character offsets delimiting the finding.
|
RangeOrBuilder |
getCodepointRangeOrBuilder()
Unicode character offsets delimiting the finding.
|
Container |
getContainer()
Information about the container where this finding occurred, if available.
|
Container.Builder |
getContainerBuilder()
Information about the container where this finding occurred, if available.
|
ContainerOrBuilder |
getContainerOrBuilder()
Information about the container where this finding occurred, if available.
|
ContentLocation |
getContentLocations(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
ContentLocation.Builder |
getContentLocationsBuilder(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
List<ContentLocation.Builder> |
getContentLocationsBuilderList()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
int |
getContentLocationsCount()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
List<ContentLocation> |
getContentLocationsList()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
ContentLocationOrBuilder |
getContentLocationsOrBuilder(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
List<? extends ContentLocationOrBuilder> |
getContentLocationsOrBuilderList()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasByteRange()
Zero-based byte offsets delimiting the finding.
|
boolean |
hasCodepointRange()
Unicode character offsets delimiting the finding.
|
boolean |
hasContainer()
Information about the container where this finding occurred, if available.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Location.Builder |
mergeByteRange(Range value)
Zero-based byte offsets delimiting the finding.
|
Location.Builder |
mergeCodepointRange(Range value)
Unicode character offsets delimiting the finding.
|
Location.Builder |
mergeContainer(Container value)
Information about the container where this finding occurred, if available.
|
Location.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(com.google.protobuf.Message other) |
Location.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Location.Builder |
removeContentLocations(int index)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
setByteRange(Range.Builder builderForValue)
Zero-based byte offsets delimiting the finding.
|
Location.Builder |
setByteRange(Range value)
Zero-based byte offsets delimiting the finding.
|
Location.Builder |
setCodepointRange(Range.Builder builderForValue)
Unicode character offsets delimiting the finding.
|
Location.Builder |
setCodepointRange(Range value)
Unicode character offsets delimiting the finding.
|
Location.Builder |
setContainer(Container.Builder builderForValue)
Information about the container where this finding occurred, if available.
|
Location.Builder |
setContainer(Container value)
Information about the container where this finding occurred, if available.
|
Location.Builder |
setContentLocations(int index,
ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
setContentLocations(int index,
ContentLocation value)
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Location.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Location.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Location build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Location buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Location.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Location.Builder>IOExceptionpublic boolean hasByteRange()
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;hasByteRange in interface LocationOrBuilderpublic Range getByteRange()
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;getByteRange in interface LocationOrBuilderpublic Location.Builder setByteRange(Range value)
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;public Location.Builder setByteRange(Range.Builder builderForValue)
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;public Location.Builder mergeByteRange(Range value)
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;public Location.Builder clearByteRange()
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;public Range.Builder getByteRangeBuilder()
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;public RangeOrBuilder getByteRangeOrBuilder()
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
.google.privacy.dlp.v2.Range byte_range = 1;getByteRangeOrBuilder in interface LocationOrBuilderpublic boolean hasCodepointRange()
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;hasCodepointRange in interface LocationOrBuilderpublic Range getCodepointRange()
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;getCodepointRange in interface LocationOrBuilderpublic Location.Builder setCodepointRange(Range value)
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;public Location.Builder setCodepointRange(Range.Builder builderForValue)
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;public Location.Builder mergeCodepointRange(Range value)
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;public Location.Builder clearCodepointRange()
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;public Range.Builder getCodepointRangeBuilder()
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;public RangeOrBuilder getCodepointRangeOrBuilder()
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.
.google.privacy.dlp.v2.Range codepoint_range = 2;getCodepointRangeOrBuilder in interface LocationOrBuilderpublic List<ContentLocation> getContentLocationsList()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;getContentLocationsList in interface LocationOrBuilderpublic int getContentLocationsCount()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;getContentLocationsCount in interface LocationOrBuilderpublic ContentLocation getContentLocations(int index)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;getContentLocations in interface LocationOrBuilderpublic Location.Builder setContentLocations(int index, ContentLocation value)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder setContentLocations(int index, ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder addContentLocations(ContentLocation value)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder addContentLocations(int index, ContentLocation value)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder addContentLocations(ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder addContentLocations(int index, ContentLocation.Builder builderForValue)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder addAllContentLocations(Iterable<? extends ContentLocation> values)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder clearContentLocations()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public Location.Builder removeContentLocations(int index)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public ContentLocation.Builder getContentLocationsBuilder(int index)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public ContentLocationOrBuilder getContentLocationsOrBuilder(int index)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;getContentLocationsOrBuilder in interface LocationOrBuilderpublic List<? extends ContentLocationOrBuilder> getContentLocationsOrBuilderList()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;getContentLocationsOrBuilderList in interface LocationOrBuilderpublic ContentLocation.Builder addContentLocationsBuilder()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public ContentLocation.Builder addContentLocationsBuilder(int index)
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public List<ContentLocation.Builder> getContentLocationsBuilderList()
List of nested objects pointing to the precise location of the finding within the file or record.
repeated .google.privacy.dlp.v2.ContentLocation content_locations = 7;public boolean hasContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;hasContainer in interface LocationOrBuilderpublic Container getContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;getContainer in interface LocationOrBuilderpublic Location.Builder setContainer(Container value)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;public Location.Builder setContainer(Container.Builder builderForValue)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;public Location.Builder mergeContainer(Container value)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;public Location.Builder clearContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;public Container.Builder getContainerBuilder()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;public ContainerOrBuilder getContainerOrBuilder()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;getContainerOrBuilder in interface LocationOrBuilderpublic final Location.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>public final Location.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Location.Builder>Copyright © 2022 Google LLC. All rights reserved.