Package com.google.privacy.dlp.v2
Class DataProfileLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataProfileLocation.Builder>
-
- com.google.privacy.dlp.v2.DataProfileLocation.Builder
-
- All Implemented Interfaces:
DataProfileLocationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataProfileLocation
public static final class DataProfileLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataProfileLocation.Builder> implements DataProfileLocationOrBuilder
The data that will be profiled.
Protobuf typegoogle.privacy.dlp.v2.DataProfileLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataProfileLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataProfileLocation
build()
DataProfileLocation
buildPartial()
DataProfileLocation.Builder
clear()
DataProfileLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataProfileLocation.Builder
clearFolderId()
The ID of the Folder within an organization to scan.DataProfileLocation.Builder
clearLocation()
DataProfileLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataProfileLocation.Builder
clearOrganizationId()
The ID of an organization to scan.DataProfileLocation.Builder
clone()
DataProfileLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getFolderId()
The ID of the Folder within an organization to scan.DataProfileLocation.LocationCase
getLocationCase()
long
getOrganizationId()
The ID of an organization to scan.boolean
hasFolderId()
The ID of the Folder within an organization to scan.boolean
hasOrganizationId()
The ID of an organization to scan.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DataProfileLocation.Builder
mergeFrom(DataProfileLocation other)
DataProfileLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataProfileLocation.Builder
mergeFrom(com.google.protobuf.Message other)
DataProfileLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataProfileLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataProfileLocation.Builder
setFolderId(long value)
The ID of the Folder within an organization to scan.DataProfileLocation.Builder
setOrganizationId(long value)
The ID of an organization to scan.DataProfileLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataProfileLocation.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<DataProfileLocation.Builder>
-
clear
public DataProfileLocation.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<DataProfileLocation.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<DataProfileLocation.Builder>
-
getDefaultInstanceForType
public DataProfileLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataProfileLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataProfileLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataProfileLocation.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<DataProfileLocation.Builder>
-
setField
public DataProfileLocation.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<DataProfileLocation.Builder>
-
clearField
public DataProfileLocation.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<DataProfileLocation.Builder>
-
clearOneof
public DataProfileLocation.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<DataProfileLocation.Builder>
-
setRepeatedField
public DataProfileLocation.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<DataProfileLocation.Builder>
-
addRepeatedField
public DataProfileLocation.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<DataProfileLocation.Builder>
-
mergeFrom
public DataProfileLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataProfileLocation.Builder>
-
mergeFrom
public DataProfileLocation.Builder mergeFrom(DataProfileLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileLocation.Builder>
-
mergeFrom
public DataProfileLocation.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<DataProfileLocation.Builder>
- Throws:
IOException
-
getLocationCase
public DataProfileLocation.LocationCase getLocationCase()
- Specified by:
getLocationCase
in interfaceDataProfileLocationOrBuilder
-
clearLocation
public DataProfileLocation.Builder clearLocation()
-
hasOrganizationId
public boolean hasOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
- Specified by:
hasOrganizationId
in interfaceDataProfileLocationOrBuilder
- Returns:
- Whether the organizationId field is set.
-
getOrganizationId
public long getOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
- Specified by:
getOrganizationId
in interfaceDataProfileLocationOrBuilder
- Returns:
- The organizationId.
-
setOrganizationId
public DataProfileLocation.Builder setOrganizationId(long value)
The ID of an organization to scan.
int64 organization_id = 1;
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public DataProfileLocation.Builder clearOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
- Returns:
- This builder for chaining.
-
hasFolderId
public boolean hasFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
- Specified by:
hasFolderId
in interfaceDataProfileLocationOrBuilder
- Returns:
- Whether the folderId field is set.
-
getFolderId
public long getFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
- Specified by:
getFolderId
in interfaceDataProfileLocationOrBuilder
- Returns:
- The folderId.
-
setFolderId
public DataProfileLocation.Builder setFolderId(long value)
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
- Parameters:
value
- The folderId to set.- Returns:
- This builder for chaining.
-
clearFolderId
public DataProfileLocation.Builder clearFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DataProfileLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileLocation.Builder>
-
mergeUnknownFields
public final DataProfileLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileLocation.Builder>
-
-