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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Location.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Location.Builder>
public Location getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Location build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Location buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Location.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
public Location.Builder mergeFrom(Location other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Location.Builder>
public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Location.Builder>
java.io.IOException
public boolean hasByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;
hasByteRange
in interface LocationOrBuilder
public Range getByteRange()
Zero-based byte offsets within a content item.
.google.privacy.dlp.v2beta1.Range byte_range = 1;
getByteRange
in interface LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public 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 LocationOrBuilder
public java.util.List<ImageLocation> getImageBoxesList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesList
in interface LocationOrBuilder
public int getImageBoxesCount()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesCount
in interface LocationOrBuilder
public ImageLocation getImageBoxes(int index)
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxes
in interface LocationOrBuilder
public 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 LocationOrBuilder
public java.util.List<? extends ImageLocationOrBuilder> getImageBoxesOrBuilderList()
Location within an image's pixels.
repeated .google.privacy.dlp.v2beta1.ImageLocation image_boxes = 3;
getImageBoxesOrBuilderList
in interface LocationOrBuilder
public 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 LocationOrBuilder
public RecordKey getRecordKey()
Key of the finding.
.google.privacy.dlp.v2beta1.RecordKey record_key = 4;
getRecordKey
in interface LocationOrBuilder
public 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 LocationOrBuilder
public boolean hasFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;
hasFieldId
in interface LocationOrBuilder
public FieldId getFieldId()
Field id of the field containing the finding.
.google.privacy.dlp.v2beta1.FieldId field_id = 5;
getFieldId
in interface LocationOrBuilder
public 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 LocationOrBuilder
public boolean hasTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;
hasTableLocation
in interface LocationOrBuilder
public TableLocation getTableLocation()
Location within a `ContentItem.Table`.
.google.privacy.dlp.v2beta1.TableLocation table_location = 6;
getTableLocation
in interface LocationOrBuilder
public 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 LocationOrBuilder
public final Location.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>
public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Location.Builder>