Class SdpFinding.SdpFindingLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
com.google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation.Builder
- All Implemented Interfaces:
SdpFinding.SdpFindingLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SdpFinding.SdpFindingLocation
public static final class SdpFinding.SdpFindingLocation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
implements SdpFinding.SdpFindingLocationOrBuilder
Location of this Sensitive Data Protection Finding within input content.Protobuf type
google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Zero-based byte offsets delimiting the finding.Unicode character offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Zero-based byte offsets delimiting the finding.Unicode character offsets delimiting the finding.Unicode character offsets delimiting the finding.Unicode character offsets delimiting the finding.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanZero-based byte offsets delimiting the finding.booleanUnicode character offsets delimiting the finding.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeByteRange(RangeInfo value) Zero-based byte offsets delimiting the finding.mergeCodepointRange(RangeInfo value) Unicode character offsets delimiting the finding.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setByteRange(RangeInfo value) Zero-based byte offsets delimiting the finding.setByteRange(RangeInfo.Builder builderForValue) Zero-based byte offsets delimiting the finding.setCodepointRange(RangeInfo value) Unicode character offsets delimiting the finding.setCodepointRange(RangeInfo.Builder builderForValue) Unicode character offsets delimiting the finding.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SdpFinding.SdpFindingLocation.Builder>
-
mergeFrom
public SdpFinding.SdpFindingLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SdpFinding.SdpFindingLocation.Builder>- Throws:
IOException
-
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;- Specified by:
hasByteRangein interfaceSdpFinding.SdpFindingLocationOrBuilder- Returns:
- Whether the byteRange field is set.
-
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;- Specified by:
getByteRangein interfaceSdpFinding.SdpFindingLocationOrBuilder- Returns:
- The byteRange.
-
setByteRange
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
setByteRange
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
mergeByteRange
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1; -
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo byte_range = 1;- Specified by:
getByteRangeOrBuilderin interfaceSdpFinding.SdpFindingLocationOrBuilder
-
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. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;- Specified by:
hasCodepointRangein interfaceSdpFinding.SdpFindingLocationOrBuilder- Returns:
- Whether the codepointRange field is set.
-
getCodepointRange
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;- Specified by:
getCodepointRangein interfaceSdpFinding.SdpFindingLocationOrBuilder- Returns:
- The codepointRange.
-
setCodepointRange
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2; -
setCodepointRange
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2; -
mergeCodepointRange
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2; -
clearCodepointRange
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2; -
getCodepointRangeBuilder
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2; -
getCodepointRangeOrBuilder
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. Note: Omitted if content is an image.
.google.cloud.modelarmor.v1beta.RangeInfo codepoint_range = 2;- Specified by:
getCodepointRangeOrBuilderin interfaceSdpFinding.SdpFindingLocationOrBuilder
-