Class ListProjectDataProfilesResponse.Builder (3.51.0)

public static final class ListProjectDataProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListProjectDataProfilesResponse.Builder> implements ListProjectDataProfilesResponseOrBuilder

List of profiles generated for a given organization or project.

Protobuf type google.privacy.dlp.v2.ListProjectDataProfilesResponse

Static Methods

getDescriptor()

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

Methods

addAllProjectDataProfiles(Iterable<? extends ProjectDataProfile> values)

public ListProjectDataProfilesResponse.Builder addAllProjectDataProfiles(Iterable<? extends ProjectDataProfile> values)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

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

addProjectDataProfiles(ProjectDataProfile value)

public ListProjectDataProfilesResponse.Builder addProjectDataProfiles(ProjectDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
value ProjectDataProfile
Returns
Type Description
ListProjectDataProfilesResponse.Builder

addProjectDataProfiles(ProjectDataProfile.Builder builderForValue)

public ListProjectDataProfilesResponse.Builder addProjectDataProfiles(ProjectDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
builderForValue ProjectDataProfile.Builder
Returns
Type Description
ListProjectDataProfilesResponse.Builder

addProjectDataProfiles(int index, ProjectDataProfile value)

public ListProjectDataProfilesResponse.Builder addProjectDataProfiles(int index, ProjectDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameters
Name Description
index int
value ProjectDataProfile
Returns
Type Description
ListProjectDataProfilesResponse.Builder

addProjectDataProfiles(int index, ProjectDataProfile.Builder builderForValue)

public ListProjectDataProfilesResponse.Builder addProjectDataProfiles(int index, ProjectDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameters
Name Description
index int
builderForValue ProjectDataProfile.Builder
Returns
Type Description
ListProjectDataProfilesResponse.Builder

addProjectDataProfilesBuilder()

public ProjectDataProfile.Builder addProjectDataProfilesBuilder()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Returns
Type Description
ProjectDataProfile.Builder

addProjectDataProfilesBuilder(int index)

public ProjectDataProfile.Builder addProjectDataProfilesBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectDataProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProjectDataProfilesResponse build()
Returns
Type Description
ListProjectDataProfilesResponse

buildPartial()

public ListProjectDataProfilesResponse buildPartial()
Returns
Type Description
ListProjectDataProfilesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProjectDataProfilesResponse.Builder clearNextPageToken()

The next page token.

string next_page_token = 2;

Returns
Type Description
ListProjectDataProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectDataProfiles()

public ListProjectDataProfilesResponse.Builder clearProjectDataProfiles()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Returns
Type Description
ListProjectDataProfilesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProjectDataProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListProjectDataProfilesResponse

getDescriptorForType()

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

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.

getProjectDataProfiles(int index)

public ProjectDataProfile getProjectDataProfiles(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectDataProfile

getProjectDataProfilesBuilder(int index)

public ProjectDataProfile.Builder getProjectDataProfilesBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectDataProfile.Builder

getProjectDataProfilesBuilderList()

public List<ProjectDataProfile.Builder> getProjectDataProfilesBuilderList()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Returns
Type Description
List<Builder>

getProjectDataProfilesCount()

public int getProjectDataProfilesCount()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Returns
Type Description
int

getProjectDataProfilesList()

public List<ProjectDataProfile> getProjectDataProfilesList()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Returns
Type Description
List<ProjectDataProfile>

getProjectDataProfilesOrBuilder(int index)

public ProjectDataProfileOrBuilder getProjectDataProfilesOrBuilder(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectDataProfileOrBuilder

getProjectDataProfilesOrBuilderList()

public List<? extends ProjectDataProfileOrBuilder> getProjectDataProfilesOrBuilderList()

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProjectDataProfilesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProjectDataProfiles(int index)

public ListProjectDataProfilesResponse.Builder removeProjectDataProfiles(int index)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProjectDataProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProjectDataProfilesResponse.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
ListProjectDataProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProjectDataProfilesResponse.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
ListProjectDataProfilesResponse.Builder

This builder for chaining.

setProjectDataProfiles(int index, ProjectDataProfile value)

public ListProjectDataProfilesResponse.Builder setProjectDataProfiles(int index, ProjectDataProfile value)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameters
Name Description
index int
value ProjectDataProfile
Returns
Type Description
ListProjectDataProfilesResponse.Builder

setProjectDataProfiles(int index, ProjectDataProfile.Builder builderForValue)

public ListProjectDataProfilesResponse.Builder setProjectDataProfiles(int index, ProjectDataProfile.Builder builderForValue)

List of data profiles.

repeated .google.privacy.dlp.v2.ProjectDataProfile project_data_profiles = 1;

Parameters
Name Description
index int
builderForValue ProjectDataProfile.Builder
Returns
Type Description
ListProjectDataProfilesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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