public static final class Location.Builder extends GeneratedMessageV3.Builder<Location.Builder> implements LocationOrBuilder
Specifies the location of a finding within its source item.Protobuf type
google.privacy.dlp.v2beta1.Location| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
addAllImageBoxes(java.lang.Iterable<? extends ImageLocation> values)
Location within an image's pixels.
|
Location.Builder |
addImageBoxes(ImageLocation.Builder builderForValue)
Location within an image's pixels.
|
Location.Builder |
addImageBoxes(ImageLocation value)
Location within an image's pixels.
|
Location.Builder |
addImageBoxes(int index,
ImageLocation.Builder builderForValue)
Location within an image's pixels.
|
Location.Builder |
addImageBoxes(int index,
ImageLocation value)
Location within an image's pixels.
|
ImageLocation.Builder |
addImageBoxesBuilder()
Location within an image's pixels.
|
ImageLocation.Builder |
addImageBoxesBuilder(int index)
Location within an image's pixels.
|
Location.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Location |
build() |
Location |
buildPartial() |
Location.Builder |
clear() |
Location.Builder |
clearByteRange()
Zero-based byte offsets within a content item.
|
Location.Builder |
clearCodepointRange()
Character offsets within a content item, included when content type
is a text.
|
Location.Builder |
clearField(Descriptors.FieldDescriptor field) |
Location.Builder |
clearFieldId()
Field id of the field containing the finding.
|
Location.Builder |
clearImageBoxes()
Location within an image's pixels.
|
Location.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Location.Builder |
clearRecordKey()
Key of the finding.
|
Location.Builder |
clearTableLocation()
Location within a `ContentItem.Table`.
|
Location.Builder |
clone() |
Range |
getByteRange()
Zero-based byte offsets within a content item.
|
Range.Builder |
getByteRangeBuilder()
Zero-based byte offsets within a content item.
|
RangeOrBuilder |
getByteRangeOrBuilder()
Zero-based byte offsets within a content item.
|
Range |
getCodepointRange()
Character offsets within a content item, included when content type
is a text.
|
Range.Builder |
getCodepointRangeBuilder()
Character offsets within a content item, included when content type
is a text.
|
RangeOrBuilder |
getCodepointRangeOrBuilder()
Character offsets within a content item, included when content type
is a text.
|
Location |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
FieldId |
getFieldId()
Field id of the field containing the finding.
|
FieldId.Builder |
getFieldIdBuilder()
Field id of the field containing the finding.
|
FieldIdOrBuilder |
getFieldIdOrBuilder()
Field id of the field containing the finding.
|
ImageLocation |
getImageBoxes(int index)
Location within an image's pixels.
|
ImageLocation.Builder |
getImageBoxesBuilder(int index)
Location within an image's pixels.
|
java.util.List<ImageLocation.Builder> |
getImageBoxesBuilderList()
Location within an image's pixels.
|
int |
getImageBoxesCount()
Location within an image's pixels.
|
java.util.List<ImageLocation> |
getImageBoxesList()
Location within an image's pixels.
|
ImageLocationOrBuilder |
getImageBoxesOrBuilder(int index)
Location within an image's pixels.
|
java.util.List<? extends ImageLocationOrBuilder> |
getImageBoxesOrBuilderList()
Location within an image's pixels.
|
RecordKey |
getRecordKey()
Key of the finding.
|
RecordKey.Builder |
getRecordKeyBuilder()
Key of the finding.
|
RecordKeyOrBuilder |
getRecordKeyOrBuilder()
Key of the finding.
|
TableLocation |
getTableLocation()
Location within a `ContentItem.Table`.
|
TableLocation.Builder |
getTableLocationBuilder()
Location within a `ContentItem.Table`.
|
TableLocationOrBuilder |
getTableLocationOrBuilder()
Location within a `ContentItem.Table`.
|
boolean |
hasByteRange()
Zero-based byte offsets within a content item.
|
boolean |
hasCodepointRange()
Character offsets within a content item, included when content type
is a text.
|
boolean |
hasFieldId()
Field id of the field containing the finding.
|
boolean |
hasRecordKey()
Key of the finding.
|
boolean |
hasTableLocation()
Location within a `ContentItem.Table`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Location.Builder |
mergeByteRange(Range value)
Zero-based byte offsets within a content item.
|
Location.Builder |
mergeCodepointRange(Range value)
Character offsets within a content item, included when content type
is a text.
|
Location.Builder |
mergeFieldId(FieldId value)
Field id of the field containing the finding.
|
Location.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Location.Builder |
mergeFrom(Location other) |
Location.Builder |
mergeFrom(Message other) |
Location.Builder |
mergeRecordKey(RecordKey value)
Key of the finding.
|
Location.Builder |
mergeTableLocation(TableLocation value)
Location within a `ContentItem.Table`.
|
Location.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Location.Builder |
removeImageBoxes(int index)
Location within an image's pixels.
|
Location.Builder |
setByteRange(Range.Builder builderForValue)
Zero-based byte offsets within a content item.
|
Location.Builder |
setByteRange(Range value)
Zero-based byte offsets within a content item.
|
Location.Builder |
setCodepointRange(Range.Builder builderForValue)
Character offsets within a content item, included when content type
is a text.
|
Location.Builder |
setCodepointRange(Range value)
Character offsets within a content item, included when content type
is a text.
|
Location.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Location.Builder |
setFieldId(FieldId.Builder builderForValue)
Field id of the field containing the finding.
|
Location.Builder |
setFieldId(FieldId value)
Field id of the field containing the finding.
|
Location.Builder |
setImageBoxes(int index,
ImageLocation.Builder builderForValue)
Location within an image's pixels.
|
Location.Builder |
setImageBoxes(int index,
ImageLocation value)
Location within an image's pixels.
|
Location.Builder |
setRecordKey(RecordKey.Builder builderForValue)
Key of the finding.
|
Location.Builder |
setRecordKey(RecordKey value)
Key of the finding.
|
Location.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Location.Builder |
setTableLocation(TableLocation.Builder builderForValue)
Location within a `ContentItem.Table`.
|
Location.Builder |
setTableLocation(TableLocation value)
Location within a `ContentItem.Table`.
|
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 within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;hasByteRange in interface LocationOrBuilderpublic Range getByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;getByteRange in interface LocationOrBuilderpublic Location.Builder setByteRange(Range value)
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;public Location.Builder setByteRange(Range.Builder builderForValue)
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;public Location.Builder mergeByteRange(Range value)
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;public Location.Builder clearByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;public Range.Builder getByteRangeBuilder()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;public RangeOrBuilder getByteRangeOrBuilder()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;getByteRangeOrBuilder in interface LocationOrBuilderpublic boolean hasCodepointRange()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;hasCodepointRange in interface LocationOrBuilderpublic Range getCodepointRange()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;getCodepointRange in interface LocationOrBuilderpublic Location.Builder setCodepointRange(Range value)
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;public Location.Builder setCodepointRange(Range.Builder builderForValue)
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;public Location.Builder mergeCodepointRange(Range value)
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;public Location.Builder clearCodepointRange()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;public Range.Builder getCodepointRangeBuilder()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;public RangeOrBuilder getCodepointRangeOrBuilder()
Character offsets within a content item, included when content type is a text. Default charset assumed to be UTF-8.
.google.privacy.dlp.v2beta1.Range codepoint_range = 2;getCodepointRangeOrBuilder in interface LocationOrBuilderpublic java.util.List<ImageLocation> getImageBoxesList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesList in interface LocationOrBuilderpublic int getImageBoxesCount()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesCount in interface LocationOrBuilderpublic ImageLocation getImageBoxes(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxes in interface LocationOrBuilderpublic Location.Builder setImageBoxes(int index, ImageLocation value)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder setImageBoxes(int index, ImageLocation.Builder builderForValue)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder addImageBoxes(ImageLocation value)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder addImageBoxes(int index, ImageLocation value)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder addImageBoxes(ImageLocation.Builder builderForValue)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder addImageBoxes(int index, ImageLocation.Builder builderForValue)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder addAllImageBoxes(java.lang.Iterable<? extends ImageLocation> values)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder clearImageBoxes()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public Location.Builder removeImageBoxes(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public ImageLocation.Builder getImageBoxesBuilder(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public ImageLocationOrBuilder getImageBoxesOrBuilder(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesOrBuilder in interface LocationOrBuilderpublic java.util.List<? extends ImageLocationOrBuilder> getImageBoxesOrBuilderList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;getImageBoxesOrBuilderList in interface LocationOrBuilderpublic ImageLocation.Builder addImageBoxesBuilder()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public ImageLocation.Builder addImageBoxesBuilder(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public java.util.List<ImageLocation.Builder> getImageBoxesBuilderList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;public boolean hasRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;hasRecordKey in interface LocationOrBuilderpublic RecordKey getRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;getRecordKey in interface LocationOrBuilderpublic Location.Builder setRecordKey(RecordKey value)
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;public Location.Builder setRecordKey(RecordKey.Builder builderForValue)
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;public Location.Builder mergeRecordKey(RecordKey value)
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;public Location.Builder clearRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;public RecordKey.Builder getRecordKeyBuilder()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;public RecordKeyOrBuilder getRecordKeyOrBuilder()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;getRecordKeyOrBuilder in interface LocationOrBuilderpublic boolean hasFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;hasFieldId in interface LocationOrBuilderpublic FieldId getFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;getFieldId in interface LocationOrBuilderpublic Location.Builder setFieldId(FieldId value)
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;public Location.Builder setFieldId(FieldId.Builder builderForValue)
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;public Location.Builder mergeFieldId(FieldId value)
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;public Location.Builder clearFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;public FieldId.Builder getFieldIdBuilder()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;public FieldIdOrBuilder getFieldIdOrBuilder()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;getFieldIdOrBuilder in interface LocationOrBuilderpublic boolean hasTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;hasTableLocation in interface LocationOrBuilderpublic TableLocation getTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;getTableLocation in interface LocationOrBuilderpublic Location.Builder setTableLocation(TableLocation value)
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;public Location.Builder setTableLocation(TableLocation.Builder builderForValue)
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;public Location.Builder mergeTableLocation(TableLocation value)
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;public Location.Builder clearTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;public TableLocation.Builder getTableLocationBuilder()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;public TableLocationOrBuilder getTableLocationOrBuilder()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;getTableLocationOrBuilder in interface LocationOrBuilderpublic 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>