Class GetProjectDataProfileRequest.Builder (3.47.0)

public static final class GetProjectDataProfileRequest.Builder extends GeneratedMessageV3.Builder<GetProjectDataProfileRequest.Builder> implements GetProjectDataProfileRequestOrBuilder

Request to get a project data profile.

Protobuf type google.privacy.dlp.v2.GetProjectDataProfileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetProjectDataProfileRequest build()
Returns
Type Description
GetProjectDataProfileRequest

buildPartial()

public GetProjectDataProfileRequest buildPartial()
Returns
Type Description
GetProjectDataProfileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetProjectDataProfileRequest.Builder clearName()

Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetProjectDataProfileRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetProjectDataProfileRequest getDefaultInstanceForType()
Returns
Type Description
GetProjectDataProfileRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name, for example organizations/12345/locations/us/projectDataProfiles/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetProjectDataProfileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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