Class SdpFinding.SdpFindingLocation.Builder (0.1.0)

public static final class SdpFinding.SdpFindingLocation.Builder extends GeneratedMessageV3.Builder<SdpFinding.SdpFindingLocation.Builder> implements SdpFinding.SdpFindingLocationOrBuilder

Location of this Sensitive Data Protection Finding within input content.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SdpFinding.SdpFindingLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

build()

public SdpFinding.SdpFindingLocation build()
Returns
Type Description
SdpFinding.SdpFindingLocation

buildPartial()

public SdpFinding.SdpFindingLocation buildPartial()
Returns
Type Description
SdpFinding.SdpFindingLocation

clear()

public SdpFinding.SdpFindingLocation.Builder clear()
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

clearByteRange()

public SdpFinding.SdpFindingLocation.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.

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

Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

clearCodepointRange()

public SdpFinding.SdpFindingLocation.Builder clearCodepointRange()

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

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

Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

clearField(Descriptors.FieldDescriptor field)

public SdpFinding.SdpFindingLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SdpFinding.SdpFindingLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

clone()

public SdpFinding.SdpFindingLocation.Builder clone()
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

getByteRange()

public RangeInfo 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.

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

Returns
Type Description
RangeInfo

The byteRange.

getByteRangeBuilder()

public RangeInfo.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.

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

Returns
Type Description
RangeInfo.Builder

getByteRangeOrBuilder()

public RangeInfoOrBuilder 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.

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

Returns
Type Description
RangeInfoOrBuilder

getCodepointRange()

public RangeInfo getCodepointRange()

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

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

Returns
Type Description
RangeInfo

The codepointRange.

getCodepointRangeBuilder()

public RangeInfo.Builder getCodepointRangeBuilder()

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

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

Returns
Type Description
RangeInfo.Builder

getCodepointRangeOrBuilder()

public RangeInfoOrBuilder getCodepointRangeOrBuilder()

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

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

Returns
Type Description
RangeInfoOrBuilder

getDefaultInstanceForType()

public SdpFinding.SdpFindingLocation getDefaultInstanceForType()
Returns
Type Description
SdpFinding.SdpFindingLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

.google.cloud.modelarmor.v1.RangeInfo 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.cloud.modelarmor.v1.RangeInfo codepoint_range = 2;

Returns
Type Description
boolean

Whether the codepointRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeByteRange(RangeInfo value)

public SdpFinding.SdpFindingLocation.Builder mergeByteRange(RangeInfo 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.

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

Parameter
Name Description
value RangeInfo
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

mergeCodepointRange(RangeInfo value)

public SdpFinding.SdpFindingLocation.Builder mergeCodepointRange(RangeInfo value)

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

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

Parameter
Name Description
value RangeInfo
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

mergeFrom(SdpFinding.SdpFindingLocation other)

public SdpFinding.SdpFindingLocation.Builder mergeFrom(SdpFinding.SdpFindingLocation other)
Parameter
Name Description
other SdpFinding.SdpFindingLocation
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SdpFinding.SdpFindingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SdpFinding.SdpFindingLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SdpFinding.SdpFindingLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

setByteRange(RangeInfo value)

public SdpFinding.SdpFindingLocation.Builder setByteRange(RangeInfo 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.

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

Parameter
Name Description
value RangeInfo
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

setByteRange(RangeInfo.Builder builderForValue)

public SdpFinding.SdpFindingLocation.Builder setByteRange(RangeInfo.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.

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

Parameter
Name Description
builderForValue RangeInfo.Builder
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

setCodepointRange(RangeInfo value)

public SdpFinding.SdpFindingLocation.Builder setCodepointRange(RangeInfo value)

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

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

Parameter
Name Description
value RangeInfo
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

setCodepointRange(RangeInfo.Builder builderForValue)

public SdpFinding.SdpFindingLocation.Builder setCodepointRange(RangeInfo.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue RangeInfo.Builder
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SdpFinding.SdpFindingLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SdpFinding.SdpFindingLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SdpFinding.SdpFindingLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SdpFinding.SdpFindingLocation.Builder
Overrides