Class GetProjectDataProfileRequest.Builder (3.87.0)

public static final class GetProjectDataProfileRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

setName(String value)

public GetProjectDataProfileRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetProjectDataProfileRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetProjectDataProfileRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetProjectDataProfileRequest.Builder

This builder for chaining.