Class RecordCondition.Builder (3.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class RecordCondition.Builder extends GeneratedMessageV3.Builder<RecordCondition.Builder> implements RecordConditionOrBuilder
A condition for determining whether a transformation should be applied to
a field.
Protobuf type google.privacy.dlp.v2.RecordCondition
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RecordCondition build()
Returns
buildPartial()
public RecordCondition buildPartial()
Returns
clear()
public RecordCondition.Builder clear()
Returns
Overrides
clearExpressions()
public RecordCondition.Builder clearExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public RecordCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public RecordCondition.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RecordCondition getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpressions()
public RecordCondition.Expressions getExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
getExpressionsBuilder()
public RecordCondition.Expressions.Builder getExpressionsBuilder()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
getExpressionsOrBuilder()
public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
hasExpressions()
public boolean hasExpressions()
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Returns
Type | Description |
boolean | Whether the expressions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExpressions(RecordCondition.Expressions value)
public RecordCondition.Builder mergeExpressions(RecordCondition.Expressions value)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
mergeFrom(RecordCondition other)
public RecordCondition.Builder mergeFrom(RecordCondition other)
Parameter
Returns
public RecordCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecordCondition.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpressions(RecordCondition.Expressions value)
public RecordCondition.Builder setExpressions(RecordCondition.Expressions value)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
setExpressions(RecordCondition.Expressions.Builder builderForValue)
public RecordCondition.Builder setExpressions(RecordCondition.Expressions.Builder builderForValue)
An expression.
.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecordCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]