Class ListFileStoreDataProfilesResponse.Builder (3.53.0)

public static final class ListFileStoreDataProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListFileStoreDataProfilesResponse.Builder> implements ListFileStoreDataProfilesResponseOrBuilder

List of file store data profiles generated for a given organization or project.

Protobuf type google.privacy.dlp.v2.ListFileStoreDataProfilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFileStoreDataProfiles(Iterable<? extends FileStoreDataProfile> values)

public ListFileStoreDataProfilesResponse.Builder addAllFileStoreDataProfiles(Iterable<? extends FileStoreDataProfile> values)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FileStoreDataProfile>
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

addFileStoreDataProfiles(FileStoreDataProfile value)

public ListFileStoreDataProfilesResponse.Builder addFileStoreDataProfiles(FileStoreDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
value FileStoreDataProfile
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

addFileStoreDataProfiles(FileStoreDataProfile.Builder builderForValue)

public ListFileStoreDataProfilesResponse.Builder addFileStoreDataProfiles(FileStoreDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
builderForValue FileStoreDataProfile.Builder
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

addFileStoreDataProfiles(int index, FileStoreDataProfile value)

public ListFileStoreDataProfilesResponse.Builder addFileStoreDataProfiles(int index, FileStoreDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameters
Name Description
index int
value FileStoreDataProfile
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

addFileStoreDataProfiles(int index, FileStoreDataProfile.Builder builderForValue)

public ListFileStoreDataProfilesResponse.Builder addFileStoreDataProfiles(int index, FileStoreDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameters
Name Description
index int
builderForValue FileStoreDataProfile.Builder
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

addFileStoreDataProfilesBuilder()

public FileStoreDataProfile.Builder addFileStoreDataProfilesBuilder()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
FileStoreDataProfile.Builder

addFileStoreDataProfilesBuilder(int index)

public FileStoreDataProfile.Builder addFileStoreDataProfilesBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFileStoreDataProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

build()

public ListFileStoreDataProfilesResponse build()
Returns
Type Description
ListFileStoreDataProfilesResponse

buildPartial()

public ListFileStoreDataProfilesResponse buildPartial()
Returns
Type Description
ListFileStoreDataProfilesResponse

clear()

public ListFileStoreDataProfilesResponse.Builder clear()
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFileStoreDataProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

clearFileStoreDataProfiles()

public ListFileStoreDataProfilesResponse.Builder clearFileStoreDataProfiles()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

clearNextPageToken()

public ListFileStoreDataProfilesResponse.Builder clearNextPageToken()

The next page token.

string next_page_token = 2;

Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFileStoreDataProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

clone()

public ListFileStoreDataProfilesResponse.Builder clone()
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFileStoreDataProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListFileStoreDataProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFileStoreDataProfiles(int index)

public FileStoreDataProfile getFileStoreDataProfiles(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfile

getFileStoreDataProfilesBuilder(int index)

public FileStoreDataProfile.Builder getFileStoreDataProfilesBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfile.Builder

getFileStoreDataProfilesBuilderList()

public List<FileStoreDataProfile.Builder> getFileStoreDataProfilesBuilderList()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
List<Builder>

getFileStoreDataProfilesCount()

public int getFileStoreDataProfilesCount()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
int

getFileStoreDataProfilesList()

public List<FileStoreDataProfile> getFileStoreDataProfilesList()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
List<FileStoreDataProfile>

getFileStoreDataProfilesOrBuilder(int index)

public FileStoreDataProfileOrBuilder getFileStoreDataProfilesOrBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
FileStoreDataProfileOrBuilder

getFileStoreDataProfilesOrBuilderList()

public List<? extends FileStoreDataProfileOrBuilder> getFileStoreDataProfilesOrBuilderList()

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.FileStoreDataProfileOrBuilder>

getNextPageToken()

public String getNextPageToken()

The next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFileStoreDataProfilesResponse other)

public ListFileStoreDataProfilesResponse.Builder mergeFrom(ListFileStoreDataProfilesResponse other)
Parameter
Name Description
other ListFileStoreDataProfilesResponse
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFileStoreDataProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFileStoreDataProfilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFileStoreDataProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

removeFileStoreDataProfiles(int index)

public ListFileStoreDataProfilesResponse.Builder removeFileStoreDataProfiles(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFileStoreDataProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

setFileStoreDataProfiles(int index, FileStoreDataProfile value)

public ListFileStoreDataProfilesResponse.Builder setFileStoreDataProfiles(int index, FileStoreDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameters
Name Description
index int
value FileStoreDataProfile
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

setFileStoreDataProfiles(int index, FileStoreDataProfile.Builder builderForValue)

public ListFileStoreDataProfilesResponse.Builder setFileStoreDataProfiles(int index, FileStoreDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.FileStoreDataProfile file_store_data_profiles = 1;

Parameters
Name Description
index int
builderForValue FileStoreDataProfile.Builder
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

setNextPageToken(String value)

public ListFileStoreDataProfilesResponse.Builder setNextPageToken(String value)

The next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFileStoreDataProfilesResponse.Builder setNextPageTokenBytes(ByteString value)

The next page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFileStoreDataProfilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFileStoreDataProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFileStoreDataProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFileStoreDataProfilesResponse.Builder
Overrides