Class SdpInspectResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SdpInspectResult.Builder>
com.google.cloud.modelarmor.v1beta.SdpInspectResult.Builder
- All Implemented Interfaces:
SdpInspectResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SdpInspectResult
public static final class SdpInspectResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SdpInspectResult.Builder>
implements SdpInspectResultOrBuilder
Sensitive Data Protection Inspection Result.Protobuf type
google.cloud.modelarmor.v1beta.SdpInspectResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllFindings(Iterable<? extends SdpFinding> values) List of Sensitive Data Protection findings.addAllMessageItems(Iterable<? extends MessageItem> values) Optional messages corresponding to the result.addFindings(int index, SdpFinding value) List of Sensitive Data Protection findings.addFindings(int index, SdpFinding.Builder builderForValue) List of Sensitive Data Protection findings.addFindings(SdpFinding value) List of Sensitive Data Protection findings.addFindings(SdpFinding.Builder builderForValue) List of Sensitive Data Protection findings.List of Sensitive Data Protection findings.addFindingsBuilder(int index) List of Sensitive Data Protection findings.addMessageItems(int index, MessageItem value) Optional messages corresponding to the result.addMessageItems(int index, MessageItem.Builder builderForValue) Optional messages corresponding to the result.addMessageItems(MessageItem value) Optional messages corresponding to the result.addMessageItems(MessageItem.Builder builderForValue) Optional messages corresponding to the result.Optional messages corresponding to the result.addMessageItemsBuilder(int index) Optional messages corresponding to the result.build()clear()Output only.List of Sensitive Data Protection findings.If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings.Output only.Optional messages corresponding to the result.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.getFindings(int index) List of Sensitive Data Protection findings.getFindingsBuilder(int index) List of Sensitive Data Protection findings.List of Sensitive Data Protection findings.intList of Sensitive Data Protection findings.List of Sensitive Data Protection findings.getFindingsOrBuilder(int index) List of Sensitive Data Protection findings.List<? extends SdpFindingOrBuilder>List of Sensitive Data Protection findings.booleanIf true, then there is possibility that more findings were identified and the findings returned are a subset of all findings.Output only.intOutput only.getMessageItems(int index) Optional messages corresponding to the result.getMessageItemsBuilder(int index) Optional messages corresponding to the result.Optional messages corresponding to the result.intOptional messages corresponding to the result.Optional messages corresponding to the result.getMessageItemsOrBuilder(int index) Optional messages corresponding to the result.List<? extends MessageItemOrBuilder>Optional messages corresponding to the result.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SdpInspectResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFindings(int index) List of Sensitive Data Protection findings.removeMessageItems(int index) Optional messages corresponding to the result.Output only.setExecutionStateValue(int value) Output only.setFindings(int index, SdpFinding value) List of Sensitive Data Protection findings.setFindings(int index, SdpFinding.Builder builderForValue) List of Sensitive Data Protection findings.setFindingsTruncated(boolean value) If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings.setMatchState(FilterMatchState value) Output only.setMatchStateValue(int value) Output only.setMessageItems(int index, MessageItem value) Optional messages corresponding to the result.setMessageItems(int index, MessageItem.Builder builderForValue) Optional messages corresponding to the result.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<SdpInspectResult.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<SdpInspectResult.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<SdpInspectResult.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<SdpInspectResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SdpInspectResult.Builder>
-
mergeFrom
public SdpInspectResult.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<SdpInspectResult.Builder>- Throws:
IOException
-
getExecutionStateValue
public int getExecutionStateValue()Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStateValuein interfaceSdpInspectResultOrBuilder- Returns:
- The enum numeric value on the wire for executionState.
-
setExecutionStateValue
Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for executionState to set.- Returns:
- This builder for chaining.
-
getExecutionState
Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStatein interfaceSdpInspectResultOrBuilder- Returns:
- The executionState.
-
setExecutionState
Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The executionState to set.- Returns:
- This builder for chaining.
-
clearExecutionState
Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMessageItemsList
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsListin interfaceSdpInspectResultOrBuilder
-
getMessageItemsCount
public int getMessageItemsCount()Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsCountin interfaceSdpInspectResultOrBuilder
-
getMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsin interfaceSdpInspectResultOrBuilder
-
setMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
setMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addAllMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
clearMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
removeMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
getMessageItemsBuilder
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
getMessageItemsOrBuilder
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsOrBuilderin interfaceSdpInspectResultOrBuilder
-
getMessageItemsOrBuilderList
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsOrBuilderListin interfaceSdpInspectResultOrBuilder
-
addMessageItemsBuilder
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
addMessageItemsBuilder
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
getMessageItemsBuilderList
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2; -
getMatchStateValue
public int getMatchStateValue()Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStateValuein interfaceSdpInspectResultOrBuilder- Returns:
- The enum numeric value on the wire for matchState.
-
setMatchStateValue
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for matchState to set.- Returns:
- This builder for chaining.
-
getMatchState
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStatein interfaceSdpInspectResultOrBuilder- Returns:
- The matchState.
-
setMatchState
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The matchState to set.- Returns:
- This builder for chaining.
-
clearMatchState
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getFindingsList
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsListin interfaceSdpInspectResultOrBuilder
-
getFindingsCount
public int getFindingsCount()List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsCountin interfaceSdpInspectResultOrBuilder
-
getFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsin interfaceSdpInspectResultOrBuilder
-
setFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
setFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addAllFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
clearFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
removeFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
getFindingsBuilder
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
getFindingsOrBuilder
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsOrBuilderin interfaceSdpInspectResultOrBuilder
-
getFindingsOrBuilderList
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsOrBuilderListin interfaceSdpInspectResultOrBuilder
-
addFindingsBuilder
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
addFindingsBuilder
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
getFindingsBuilderList
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4; -
getFindingsTruncated
public boolean getFindingsTruncated()If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call.
bool findings_truncated = 5;- Specified by:
getFindingsTruncatedin interfaceSdpInspectResultOrBuilder- Returns:
- The findingsTruncated.
-
setFindingsTruncated
If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call.
bool findings_truncated = 5;- Parameters:
value- The findingsTruncated to set.- Returns:
- This builder for chaining.
-
clearFindingsTruncated
If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call.
bool findings_truncated = 5;- Returns:
- This builder for chaining.
-