Class ListProjectDataProfilesResponse.Builder (3.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.ProjectDataProfile>
Returns
TypeDescription
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
NameDescription
valueProjectDataProfile
Returns
TypeDescription
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
NameDescription
builderForValueProjectDataProfile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProjectDataProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProjectDataProfile.Builder
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

addProjectDataProfilesBuilder()

public ProjectDataProfile.Builder addProjectDataProfilesBuilder()

List of data profiles.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProjectDataProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListProjectDataProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

build()

public ListProjectDataProfilesResponse build()
Returns
TypeDescription
ListProjectDataProfilesResponse

buildPartial()

public ListProjectDataProfilesResponse buildPartial()
Returns
TypeDescription
ListProjectDataProfilesResponse

clear()

public ListProjectDataProfilesResponse.Builder clear()
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListProjectDataProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

clearNextPageToken()

public ListProjectDataProfilesResponse.Builder clearNextPageToken()

The next page token.

string next_page_token = 2;

Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProjectDataProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

clearProjectDataProfiles()

public ListProjectDataProfilesResponse.Builder clearProjectDataProfiles()

List of data profiles.

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

Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

clone()

public ListProjectDataProfilesResponse.Builder clone()
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListProjectDataProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProjectDataProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The next page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The next page token.

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProjectDataProfile.Builder

getProjectDataProfilesBuilderList()

public List<ProjectDataProfile.Builder> getProjectDataProfilesBuilderList()

List of data profiles.

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

Returns
TypeDescription
List<Builder>

getProjectDataProfilesCount()

public int getProjectDataProfilesCount()

List of data profiles.

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

Returns
TypeDescription
int

getProjectDataProfilesList()

public List<ProjectDataProfile> getProjectDataProfilesList()

List of data profiles.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProjectDataProfileOrBuilder

getProjectDataProfilesOrBuilderList()

public List<? extends ProjectDataProfileOrBuilder> getProjectDataProfilesOrBuilderList()

List of data profiles.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProjectDataProfilesResponse other)

public ListProjectDataProfilesResponse.Builder mergeFrom(ListProjectDataProfilesResponse other)
Parameter
NameDescription
otherListProjectDataProfilesResponse
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListProjectDataProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListProjectDataProfilesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListProjectDataProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListProjectDataProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

setNextPageToken(String value)

public ListProjectDataProfilesResponse.Builder setNextPageToken(String value)

The next page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProjectDataProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProjectDataProfile.Builder
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder

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

public ListProjectDataProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListProjectDataProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListProjectDataProfilesResponse.Builder
Overrides