Package com.google.privacy.dlp.v2
Class Location.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Location.Builder>
com.google.privacy.dlp.v2.Location.Builder
- All Implemented Interfaces:
LocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Location
public static final class Location.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Location.Builder>
implements LocationOrBuilder
Specifies the location of the finding.Protobuf type
google.privacy.dlp.v2.Location-
Method Summary
Modifier and TypeMethodDescriptionaddAllContentLocations(Iterable<? extends ContentLocation> values) List of nested objects pointing to the precise location of the finding within the file or record.addContentLocations(int index, ContentLocation value) List of nested objects pointing to the precise location of the finding within the file or record.addContentLocations(int index, ContentLocation.Builder builderForValue) List of nested objects pointing to the precise location of the finding within the file or record.List of nested objects pointing to the precise location of the finding within the file or record.addContentLocations(ContentLocation.Builder builderForValue) List of nested objects pointing to the precise location of the finding within the file or record.List of nested objects pointing to the precise location of the finding within the file or record.addContentLocationsBuilder(int index) List of nested objects pointing to the precise location of the finding within the file or record.build()clear()Zero-based byte offsets delimiting the finding.Unicode character offsets delimiting the finding.Information about the container where this finding occurred, if available.List of nested objects pointing to the precise location of the finding within the file or record.Zero-based byte offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Unicode character offsets delimiting the finding.Unicode character offsets delimiting the finding.Unicode character offsets delimiting the finding.Information about the container where this finding occurred, if available.Information about the container where this finding occurred, if available.Information about the container where this finding occurred, if available.getContentLocations(int index) List of nested objects pointing to the precise location of the finding within the file or record.getContentLocationsBuilder(int index) List of nested objects pointing to the precise location of the finding within the file or record.List of nested objects pointing to the precise location of the finding within the file or record.intList of nested objects pointing to the precise location of the finding within the file or record.List of nested objects pointing to the precise location of the finding within the file or record.getContentLocationsOrBuilder(int index) List of nested objects pointing to the precise location of the finding within the file or record.List<? extends ContentLocationOrBuilder>List of nested objects pointing to the precise location of the finding within the file or record.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanZero-based byte offsets delimiting the finding.booleanUnicode character offsets delimiting the finding.booleanInformation about the container where this finding occurred, if available.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeByteRange(Range value) Zero-based byte offsets delimiting the finding.mergeCodepointRange(Range value) Unicode character offsets delimiting the finding.mergeContainer(Container value) Information about the container where this finding occurred, if available.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeContentLocations(int index) List of nested objects pointing to the precise location of the finding within the file or record.setByteRange(Range value) Zero-based byte offsets delimiting the finding.setByteRange(Range.Builder builderForValue) Zero-based byte offsets delimiting the finding.setCodepointRange(Range value) Unicode character offsets delimiting the finding.setCodepointRange(Range.Builder builderForValue) Unicode character offsets delimiting the finding.setContainer(Container value) Information about the container where this finding occurred, if available.setContainer(Container.Builder builderForValue) Information about the container where this finding occurred, if available.setContentLocations(int index, ContentLocation value) List of nested objects pointing to the precise location of the finding within the file or record.setContentLocations(int index, ContentLocation.Builder builderForValue) List of nested objects pointing to the precise location of the finding within the file or record.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Location.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Location.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Location.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Location.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Location.Builder>
-
mergeFrom
public Location.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Location.Builder>- Throws:
IOException
-
hasByteRange
public 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;- Specified by:
hasByteRangein interfaceLocationOrBuilder- Returns:
- Whether the byteRange field is set.
-
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;- Specified by:
getByteRangein interfaceLocationOrBuilder- Returns:
- The byteRange.
-
setByteRange
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; -
setByteRange
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; -
mergeByteRange
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; -
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; -
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; -
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;- Specified by:
getByteRangeOrBuilderin interfaceLocationOrBuilder
-
hasCodepointRange
public 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;- Specified by:
hasCodepointRangein interfaceLocationOrBuilder- Returns:
- Whether the codepointRange field is set.
-
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;- Specified by:
getCodepointRangein interfaceLocationOrBuilder- Returns:
- The codepointRange.
-
setCodepointRange
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; -
setCodepointRange
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; -
mergeCodepointRange
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; -
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; -
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; -
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;- Specified by:
getCodepointRangeOrBuilderin interfaceLocationOrBuilder
-
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;- Specified by:
getContentLocationsListin interfaceLocationOrBuilder
-
getContentLocationsCount
public 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;- Specified by:
getContentLocationsCountin interfaceLocationOrBuilder
-
getContentLocations
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;- Specified by:
getContentLocationsin interfaceLocationOrBuilder
-
setContentLocations
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; -
setContentLocations
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; -
addContentLocations
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; -
addContentLocations
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; -
addContentLocations
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; -
addContentLocations
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; -
addAllContentLocations
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; -
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; -
removeContentLocations
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; -
getContentLocationsBuilder
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
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;- Specified by:
getContentLocationsOrBuilderin interfaceLocationOrBuilder
-
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;- Specified by:
getContentLocationsOrBuilderListin interfaceLocationOrBuilder
-
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; -
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; -
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; -
hasContainer
public boolean hasContainer()Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;- Specified by:
hasContainerin interfaceLocationOrBuilder- Returns:
- Whether the container field is set.
-
getContainer
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;- Specified by:
getContainerin interfaceLocationOrBuilder- Returns:
- The container.
-
setContainer
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8; -
setContainer
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8; -
mergeContainer
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8; -
clearContainer
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8; -
getContainerBuilder
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8; -
getContainerOrBuilder
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;- Specified by:
getContainerOrBuilderin interfaceLocationOrBuilder
-