Package com.google.privacy.dlp.v2
Class TransformationSummary.SummaryResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
- com.google.privacy.dlp.v2.TransformationSummary.SummaryResult.Builder
-
- All Implemented Interfaces:
TransformationSummary.SummaryResultOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TransformationSummary.SummaryResult
public static final class TransformationSummary.SummaryResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder> implements TransformationSummary.SummaryResultOrBuilder
A collection that informs the user the number of times a particular `TransformationResultCode` and error details occurred.
Protobuf typegoogle.privacy.dlp.v2.TransformationSummary.SummaryResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformationSummary.SummaryResult.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransformationSummary.SummaryResult
build()
TransformationSummary.SummaryResult
buildPartial()
TransformationSummary.SummaryResult.Builder
clear()
TransformationSummary.SummaryResult.Builder
clearCode()
Outcome of the transformation.TransformationSummary.SummaryResult.Builder
clearCount()
Number of transformations counted by this result.TransformationSummary.SummaryResult.Builder
clearDetails()
A place for warnings or errors to show up if a transformation didn't work as expected.TransformationSummary.SummaryResult.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransformationSummary.SummaryResult.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransformationSummary.SummaryResult.Builder
clone()
TransformationSummary.TransformationResultCode
getCode()
Outcome of the transformation.int
getCodeValue()
Outcome of the transformation.long
getCount()
Number of transformations counted by this result.TransformationSummary.SummaryResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDetails()
A place for warnings or errors to show up if a transformation didn't work as expected.com.google.protobuf.ByteString
getDetailsBytes()
A place for warnings or errors to show up if a transformation didn't work as expected.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransformationSummary.SummaryResult.Builder
mergeFrom(TransformationSummary.SummaryResult other)
TransformationSummary.SummaryResult.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransformationSummary.SummaryResult.Builder
mergeFrom(com.google.protobuf.Message other)
TransformationSummary.SummaryResult.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransformationSummary.SummaryResult.Builder
setCode(TransformationSummary.TransformationResultCode value)
Outcome of the transformation.TransformationSummary.SummaryResult.Builder
setCodeValue(int value)
Outcome of the transformation.TransformationSummary.SummaryResult.Builder
setCount(long value)
Number of transformations counted by this result.TransformationSummary.SummaryResult.Builder
setDetails(String value)
A place for warnings or errors to show up if a transformation didn't work as expected.TransformationSummary.SummaryResult.Builder
setDetailsBytes(com.google.protobuf.ByteString value)
A place for warnings or errors to show up if a transformation didn't work as expected.TransformationSummary.SummaryResult.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransformationSummary.SummaryResult.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TransformationSummary.SummaryResult.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
clear
public TransformationSummary.SummaryResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
getDefaultInstanceForType
public TransformationSummary.SummaryResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransformationSummary.SummaryResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransformationSummary.SummaryResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransformationSummary.SummaryResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
setField
public TransformationSummary.SummaryResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
clearField
public TransformationSummary.SummaryResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
clearOneof
public TransformationSummary.SummaryResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
setRepeatedField
public TransformationSummary.SummaryResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
addRepeatedField
public TransformationSummary.SummaryResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
mergeFrom
public TransformationSummary.SummaryResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransformationSummary.SummaryResult.Builder>
-
mergeFrom
public TransformationSummary.SummaryResult.Builder mergeFrom(TransformationSummary.SummaryResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
mergeFrom
public TransformationSummary.SummaryResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransformationSummary.SummaryResult.Builder>
- Throws:
IOException
-
getCount
public long getCount()
Number of transformations counted by this result.
int64 count = 1;
- Specified by:
getCount
in interfaceTransformationSummary.SummaryResultOrBuilder
- Returns:
- The count.
-
setCount
public TransformationSummary.SummaryResult.Builder setCount(long value)
Number of transformations counted by this result.
int64 count = 1;
- Parameters:
value
- The count to set.- Returns:
- This builder for chaining.
-
clearCount
public TransformationSummary.SummaryResult.Builder clearCount()
Number of transformations counted by this result.
int64 count = 1;
- Returns:
- This builder for chaining.
-
getCodeValue
public int getCodeValue()
Outcome of the transformation.
.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
- Specified by:
getCodeValue
in interfaceTransformationSummary.SummaryResultOrBuilder
- Returns:
- The enum numeric value on the wire for code.
-
setCodeValue
public TransformationSummary.SummaryResult.Builder setCodeValue(int value)
Outcome of the transformation.
.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
- Parameters:
value
- The enum numeric value on the wire for code to set.- Returns:
- This builder for chaining.
-
getCode
public TransformationSummary.TransformationResultCode getCode()
Outcome of the transformation.
.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
- Specified by:
getCode
in interfaceTransformationSummary.SummaryResultOrBuilder
- Returns:
- The code.
-
setCode
public TransformationSummary.SummaryResult.Builder setCode(TransformationSummary.TransformationResultCode value)
Outcome of the transformation.
.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public TransformationSummary.SummaryResult.Builder clearCode()
Outcome of the transformation.
.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;
- Returns:
- This builder for chaining.
-
getDetails
public String getDetails()
A place for warnings or errors to show up if a transformation didn't work as expected.
string details = 3;
- Specified by:
getDetails
in interfaceTransformationSummary.SummaryResultOrBuilder
- Returns:
- The details.
-
getDetailsBytes
public com.google.protobuf.ByteString getDetailsBytes()
A place for warnings or errors to show up if a transformation didn't work as expected.
string details = 3;
- Specified by:
getDetailsBytes
in interfaceTransformationSummary.SummaryResultOrBuilder
- Returns:
- The bytes for details.
-
setDetails
public TransformationSummary.SummaryResult.Builder setDetails(String value)
A place for warnings or errors to show up if a transformation didn't work as expected.
string details = 3;
- Parameters:
value
- The details to set.- Returns:
- This builder for chaining.
-
clearDetails
public TransformationSummary.SummaryResult.Builder clearDetails()
A place for warnings or errors to show up if a transformation didn't work as expected.
string details = 3;
- Returns:
- This builder for chaining.
-
setDetailsBytes
public TransformationSummary.SummaryResult.Builder setDetailsBytes(com.google.protobuf.ByteString value)
A place for warnings or errors to show up if a transformation didn't work as expected.
string details = 3;
- Parameters:
value
- The bytes for details to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransformationSummary.SummaryResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
mergeUnknownFields
public final TransformationSummary.SummaryResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder>
-
-