public static final class SdpFinding.SdpFindingLocation.Builder extends GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder> implements SdpFinding.SdpFindingLocationOrBuilderLocation of this Sensitive Data Protection Finding within input content.
Protobuf type google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SdpFinding.SdpFindingLocation.BuilderImplements
SdpFinding.SdpFindingLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|