Class GetDataScanRequest.Builder (1.27.0)

public static final class GetDataScanRequest.Builder extends GeneratedMessageV3.Builder<GetDataScanRequest.Builder> implements GetDataScanRequestOrBuilder

Get dataScan request.

Protobuf type google.cloud.dataplex.v1.GetDataScanRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDataScanRequest build()
Returns
TypeDescription
GetDataScanRequest

buildPartial()

public GetDataScanRequest buildPartial()
Returns
TypeDescription
GetDataScanRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetDataScanRequest.Builder clearName()

Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

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

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearView()

public GetDataScanRequest.Builder clearView()

Optional. Select the DataScan view to return. Defaults to BASIC.

.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetDataScanRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDataScanRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

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

Returns
TypeDescription
ByteString

The bytes for name.

getView()

public GetDataScanRequest.DataScanView getView()

Optional. Select the DataScan view to return. Defaults to BASIC.

.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetDataScanRequest.DataScanView

The view.

getViewValue()

public int getViewValue()

Optional. Select the DataScan view to return. Defaults to BASIC.

.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetDataScanRequest other)

public GetDataScanRequest.Builder mergeFrom(GetDataScanRequest other)
Parameter
NameDescription
otherGetDataScanRequest
Returns
TypeDescription
GetDataScanRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetDataScanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetDataScanRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetDataScanRequest.Builder setName(String value)

Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataScanRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the dataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(GetDataScanRequest.DataScanView value)

public GetDataScanRequest.Builder setView(GetDataScanRequest.DataScanView value)

Optional. Select the DataScan view to return. Defaults to BASIC.

.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueGetDataScanRequest.DataScanView

The view to set.

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetDataScanRequest.Builder setViewValue(int value)

Optional. Select the DataScan view to return. Defaults to BASIC.

.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for view to set.

Returns
TypeDescription
GetDataScanRequest.Builder

This builder for chaining.