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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllContentLocations(Iterable<? extends ContentLocation> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.ContentLocation>
|
addContentLocations(ContentLocation value)
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;
addContentLocations(ContentLocation.Builder builderForValue)
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;
addContentLocations(int index, ContentLocation value)
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;
addContentLocations(int index, ContentLocation.Builder builderForValue)
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;
addContentLocationsBuilder()
public 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;
addContentLocationsBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Location.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Location buildPartial()
clear()
public Location.Builder clear()
Overrides
clearByteRange()
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;
clearCodepointRange()
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;
clearContainer()
public Location.Builder clearContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
clearContentLocations()
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;
clearField(Descriptors.FieldDescriptor field)
public Location.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Location.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Location.Builder clone()
Overrides
getByteRange()
public 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;
Returns |
---|
Type | Description |
Range | The byteRange.
|
getByteRangeBuilder()
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;
getByteRangeOrBuilder()
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;
getCodepointRange()
public 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;
Returns |
---|
Type | Description |
Range | The codepointRange.
|
getCodepointRangeBuilder()
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;
getCodepointRangeOrBuilder()
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;
getContainer()
public Container getContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
Returns |
---|
Type | Description |
Container | The container.
|
getContainerBuilder()
public Container.Builder getContainerBuilder()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
getContainerOrBuilder()
public ContainerOrBuilder getContainerOrBuilder()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
getContentLocations(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
getContentLocationsBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getContentLocationsBuilderList()
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;
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;
Returns |
---|
Type | Description |
int | |
getContentLocationsList()
public 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;
getContentLocationsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getContentLocationsOrBuilderList()
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.ContentLocationOrBuilder> | |
getDefaultInstanceForType()
public Location getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
Type | Description |
boolean | Whether the byteRange field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the codepointRange field is set.
|
hasContainer()
public boolean hasContainer()
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
Returns |
---|
Type | Description |
boolean | Whether the container field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeByteRange(Range value)
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;
Parameter |
---|
Name | Description |
value | Range
|
mergeCodepointRange(Range value)
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;
Parameter |
---|
Name | Description |
value | Range
|
mergeContainer(Container value)
public Location.Builder mergeContainer(Container value)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
mergeFrom(Location other)
public Location.Builder mergeFrom(Location other)
public Location.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Location.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Location.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeContentLocations(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
setByteRange(Range value)
public 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;
Parameter |
---|
Name | Description |
value | Range
|
setByteRange(Range.Builder builderForValue)
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;
setCodepointRange(Range value)
public 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;
Parameter |
---|
Name | Description |
value | Range
|
setCodepointRange(Range.Builder builderForValue)
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;
setContainer(Container value)
public Location.Builder setContainer(Container value)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
setContainer(Container.Builder builderForValue)
public Location.Builder setContainer(Container.Builder builderForValue)
Information about the container where this finding occurred, if available.
.google.privacy.dlp.v2.Container container = 8;
setContentLocations(int index, ContentLocation value)
public 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;
setContentLocations(int index, ContentLocation.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Location.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Location.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Location.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides