Class SdpFinding.SdpFindingLocation (0.19.0)

publicstaticfinalclass SdpFinding.SdpFindingLocationextendsGeneratedMessageV3implementsSdpFinding.SdpFindingLocationOrBuilder

Location of this Sensitive Data Protection Finding within input content.

Protobuf type google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BYTE_RANGE_FIELD_NUMBER

publicstaticfinalintBYTE_RANGE_FIELD_NUMBER
Field Value
Type Description
int

CODEPOINT_RANGE_FIELD_NUMBER

publicstaticfinalintCODEPOINT_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSdpFinding.SdpFindingLocationgetDefaultInstance()
Returns
Type Description
SdpFinding.SdpFindingLocation

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSdpFinding.SdpFindingLocation.BuildernewBuilder()
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

newBuilder(SdpFinding.SdpFindingLocation prototype)

publicstaticSdpFinding.SdpFindingLocation.BuildernewBuilder(SdpFinding.SdpFindingLocationprototype)
Parameter
Name Description
prototype SdpFinding.SdpFindingLocation
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

parseDelimitedFrom(InputStream input)

publicstaticSdpFinding.SdpFindingLocationparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSdpFinding.SdpFindingLocationparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSdpFinding.SdpFindingLocationparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSdpFinding.SdpFindingLocationparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSdpFinding.SdpFindingLocationparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSdpFinding.SdpFindingLocationparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpFinding.SdpFindingLocationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SdpFinding.SdpFindingLocation>parser()
Returns
Type Description
Parser<SdpFindingLocation>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getByteRange()

publicRangeInfogetByteRange()

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.

.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;

Returns
Type Description
RangeInfo

The byteRange.

getByteRangeOrBuilder()

publicRangeInfoOrBuildergetByteRangeOrBuilder()

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.

.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;

Returns
Type Description
RangeInfoOrBuilder

getCodepointRange()

publicRangeInfogetCodepointRange()

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;

Returns
Type Description
RangeInfo

The codepointRange.

getCodepointRangeOrBuilder()

publicRangeInfoOrBuildergetCodepointRangeOrBuilder()

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;

Returns
Type Description
RangeInfoOrBuilder

getDefaultInstanceForType()

publicSdpFinding.SdpFindingLocationgetDefaultInstanceForType()
Returns
Type Description
SdpFinding.SdpFindingLocation

getParserForType()

publicParser<SdpFinding.SdpFindingLocation>getParserForType()
Returns
Type Description
Parser<SdpFindingLocation>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasByteRange()

publicbooleanhasByteRange()

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.

.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;

Returns
Type Description
boolean

Whether the byteRange field is set.

hasCodepointRange()

publicbooleanhasCodepointRange()

Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;

Returns
Type Description
boolean

Whether the codepointRange field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSdpFinding.SdpFindingLocation.BuildernewBuilderForType()
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSdpFinding.SdpFindingLocation.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSdpFinding.SdpFindingLocation.BuildertoBuilder()
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.