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, 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 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 LocationOrBuilder
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;
getByteRange
in interface LocationOrBuilder
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;
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 LocationOrBuilder
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;
hasCodepointRange
in interface LocationOrBuilder
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;
getCodepointRange
in interface LocationOrBuilder
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;
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 LocationOrBuilder
public 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 LocationOrBuilder
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;
getContentLocationsCount
in interface LocationOrBuilder
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;
getContentLocations
in interface LocationOrBuilder
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;
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 LocationOrBuilder
public 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 LocationOrBuilder
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;
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.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>