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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SdpFinding.SdpFindingLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SdpFinding.SdpFindingLocation build()
buildPartial()
public SdpFinding.SdpFindingLocation buildPartial()
clear()
public SdpFinding.SdpFindingLocation.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public SdpFinding.SdpFindingLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SdpFinding.SdpFindingLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SdpFinding.SdpFindingLocation.Builder clone()
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;
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;
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;
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;
getDefaultInstanceForType()
public SdpFinding.SdpFindingLocation 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.
.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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
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;
mergeFrom(SdpFinding.SdpFindingLocation other)
public SdpFinding.SdpFindingLocation.Builder mergeFrom(SdpFinding.SdpFindingLocation other)
public SdpFinding.SdpFindingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SdpFinding.SdpFindingLocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SdpFinding.SdpFindingLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public SdpFinding.SdpFindingLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SdpFinding.SdpFindingLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SdpFinding.SdpFindingLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides