Class GetDataProductRequest.Builder (1.86.0)

public static final class GetDataProductRequest.Builder extends GeneratedMessage.Builder<GetDataProductRequest.Builder> implements GetDataProductRequestOrBuilder

Request message for getting a data product.

Protobuf type google.cloud.dataplex.v1.GetDataProductRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetDataProductRequest build()
Returns
Type Description
GetDataProductRequest

buildPartial()

public GetDataProductRequest buildPartial()
Returns
Type Description
GetDataProductRequest

clear()

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

clearName()

public GetDataProductRequest.Builder clearName()

Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

Returns
Type Description
GetDataProductRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetDataProductRequest getDefaultInstanceForType()
Returns
Type Description
GetDataProductRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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(GetDataProductRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetDataProductRequest.Builder setName(String value)

Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDataProductRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataProductRequest.Builder setNameBytes(ByteString value)

Required. The name of the data product to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}

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
GetDataProductRequest.Builder

This builder for chaining.