public static final class Location.Builder extends 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(java.lang.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(Descriptors.FieldDescriptor field,
java.lang.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 |
clearContentLocations()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location.Builder |
clearField(Descriptors.FieldDescriptor field) |
Location.Builder |
clearOneof(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.
|
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.
|
java.util.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.
|
java.util.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.
|
java.util.List<? extends ContentLocationOrBuilder> |
getContentLocationsOrBuilderList()
List of nested objects pointing to the precise location of the finding
within the file or record.
|
Location |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasByteRange()
Zero-based byte offsets delimiting the finding.
|
boolean |
hasCodepointRange()
Unicode character offsets delimiting the finding.
|
protected 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 |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(Message other) |
Location.Builder |
mergeUnknownFields(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 |
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(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Location.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Location.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Location.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Location.Builder>public Location getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Location build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Location buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Location.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Location.Builder>public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Location.Builder>public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Location.Builder>java.io.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 java.util.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(java.lang.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 java.util.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 java.util.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 final Location.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Location.Builder>public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Location.Builder>