Package com.google.privacy.dlp.v2
Class TransformationLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
- com.google.privacy.dlp.v2.TransformationLocation.Builder
-
- All Implemented Interfaces:
TransformationLocationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TransformationLocation
public static final class TransformationLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder> implements TransformationLocationOrBuilder
Specifies the location of a transformation.
Protobuf typegoogle.privacy.dlp.v2.TransformationLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformationLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransformationLocation
build()
TransformationLocation
buildPartial()
TransformationLocation.Builder
clear()
TransformationLocation.Builder
clearContainerType()
Information about the functionality of the container where this finding occurred, if available.TransformationLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransformationLocation.Builder
clearFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.Builder
clearLocationType()
TransformationLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransformationLocation.Builder
clearRecordTransformation()
For record transformations, provide a field and container information.TransformationLocation.Builder
clone()
TransformationContainerType
getContainerType()
Information about the functionality of the container where this finding occurred, if available.int
getContainerTypeValue()
Information about the functionality of the container where this finding occurred, if available.TransformationLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.com.google.protobuf.ByteString
getFindingIdBytes()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.LocationTypeCase
getLocationTypeCase()
RecordTransformation
getRecordTransformation()
For record transformations, provide a field and container information.RecordTransformation.Builder
getRecordTransformationBuilder()
For record transformations, provide a field and container information.RecordTransformationOrBuilder
getRecordTransformationOrBuilder()
For record transformations, provide a field and container information.boolean
hasFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.boolean
hasRecordTransformation()
For record transformations, provide a field and container information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransformationLocation.Builder
mergeFrom(TransformationLocation other)
TransformationLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransformationLocation.Builder
mergeFrom(com.google.protobuf.Message other)
TransformationLocation.Builder
mergeRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.TransformationLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransformationLocation.Builder
setContainerType(TransformationContainerType value)
Information about the functionality of the container where this finding occurred, if available.TransformationLocation.Builder
setContainerTypeValue(int value)
Information about the functionality of the container where this finding occurred, if available.TransformationLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransformationLocation.Builder
setFindingId(String value)
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.Builder
setFindingIdBytes(com.google.protobuf.ByteString value)
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated.TransformationLocation.Builder
setRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.TransformationLocation.Builder
setRecordTransformation(RecordTransformation.Builder builderForValue)
For record transformations, provide a field and container information.TransformationLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TransformationLocation.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<TransformationLocation.Builder>
-
clear
public TransformationLocation.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<TransformationLocation.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<TransformationLocation.Builder>
-
getDefaultInstanceForType
public TransformationLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransformationLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransformationLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransformationLocation.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<TransformationLocation.Builder>
-
setField
public TransformationLocation.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<TransformationLocation.Builder>
-
clearField
public TransformationLocation.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<TransformationLocation.Builder>
-
clearOneof
public TransformationLocation.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<TransformationLocation.Builder>
-
setRepeatedField
public TransformationLocation.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<TransformationLocation.Builder>
-
addRepeatedField
public TransformationLocation.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<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.Builder mergeFrom(TransformationLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
mergeFrom
public TransformationLocation.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<TransformationLocation.Builder>
- Throws:
IOException
-
getLocationTypeCase
public TransformationLocation.LocationTypeCase getLocationTypeCase()
- Specified by:
getLocationTypeCase
in interfaceTransformationLocationOrBuilder
-
clearLocationType
public TransformationLocation.Builder clearLocationType()
-
hasFindingId
public boolean hasFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Specified by:
hasFindingId
in interfaceTransformationLocationOrBuilder
- Returns:
- Whether the findingId field is set.
-
getFindingId
public String getFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Specified by:
getFindingId
in interfaceTransformationLocationOrBuilder
- Returns:
- The findingId.
-
getFindingIdBytes
public com.google.protobuf.ByteString getFindingIdBytes()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Specified by:
getFindingIdBytes
in interfaceTransformationLocationOrBuilder
- Returns:
- The bytes for findingId.
-
setFindingId
public TransformationLocation.Builder setFindingId(String value)
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Parameters:
value
- The findingId to set.- Returns:
- This builder for chaining.
-
clearFindingId
public TransformationLocation.Builder clearFindingId()
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Returns:
- This builder for chaining.
-
setFindingIdBytes
public TransformationLocation.Builder setFindingIdBytes(com.google.protobuf.ByteString value)
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).
string finding_id = 1;
- Parameters:
value
- The bytes for findingId to set.- Returns:
- This builder for chaining.
-
hasRecordTransformation
public boolean hasRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
- Specified by:
hasRecordTransformation
in interfaceTransformationLocationOrBuilder
- Returns:
- Whether the recordTransformation field is set.
-
getRecordTransformation
public RecordTransformation getRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
- Specified by:
getRecordTransformation
in interfaceTransformationLocationOrBuilder
- Returns:
- The recordTransformation.
-
setRecordTransformation
public TransformationLocation.Builder setRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
setRecordTransformation
public TransformationLocation.Builder setRecordTransformation(RecordTransformation.Builder builderForValue)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
mergeRecordTransformation
public TransformationLocation.Builder mergeRecordTransformation(RecordTransformation value)
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
clearRecordTransformation
public TransformationLocation.Builder clearRecordTransformation()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
getRecordTransformationBuilder
public RecordTransformation.Builder getRecordTransformationBuilder()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
-
getRecordTransformationOrBuilder
public RecordTransformationOrBuilder getRecordTransformationOrBuilder()
For record transformations, provide a field and container information.
.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;
- Specified by:
getRecordTransformationOrBuilder
in interfaceTransformationLocationOrBuilder
-
getContainerTypeValue
public int getContainerTypeValue()
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;
- Specified by:
getContainerTypeValue
in interfaceTransformationLocationOrBuilder
- Returns:
- The enum numeric value on the wire for containerType.
-
setContainerTypeValue
public TransformationLocation.Builder setContainerTypeValue(int value)
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;
- Parameters:
value
- The enum numeric value on the wire for containerType to set.- Returns:
- This builder for chaining.
-
getContainerType
public TransformationContainerType getContainerType()
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;
- Specified by:
getContainerType
in interfaceTransformationLocationOrBuilder
- Returns:
- The containerType.
-
setContainerType
public TransformationLocation.Builder setContainerType(TransformationContainerType value)
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;
- Parameters:
value
- The containerType to set.- Returns:
- This builder for chaining.
-
clearContainerType
public TransformationLocation.Builder clearContainerType()
Information about the functionality of the container where this finding occurred, if available.
.google.privacy.dlp.v2.TransformationContainerType container_type = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransformationLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
mergeUnknownFields
public final TransformationLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransformationLocation.Builder>
-
-