Class DataSourceType.Builder (3.87.0)

public static final class DataSourceType.Builder extends GeneratedMessage.Builder<DataSourceType.Builder> implements DataSourceTypeOrBuilder

Message used to identify the type of resource being profiled.

Protobuf type google.privacy.dlp.v2.DataSourceType

Static Methods

getDescriptor()

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

Methods

build()

public DataSourceType build()
Returns
Type Description
DataSourceType

buildPartial()

public DataSourceType buildPartial()
Returns
Type Description
DataSourceType

clear()

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

clearDataSource()

public DataSourceType.Builder clearDataSource()

A string that identifies the type of resource being profiled. Current values:

  • google/bigquery/table
  • google/project
  • google/sql/table
  • google/gcs/bucket

string data_source = 1;

Returns
Type Description
DataSourceType.Builder

This builder for chaining.

getDataSource()

public String getDataSource()

A string that identifies the type of resource being profiled. Current values:

  • google/bigquery/table
  • google/project
  • google/sql/table
  • google/gcs/bucket

string data_source = 1;

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

A string that identifies the type of resource being profiled. Current values:

  • google/bigquery/table
  • google/project
  • google/sql/table
  • google/gcs/bucket

string data_source = 1;

Returns
Type Description
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataSourceType getDefaultInstanceForType()
Returns
Type Description
DataSourceType

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataSourceType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDataSource(String value)

public DataSourceType.Builder setDataSource(String value)

A string that identifies the type of resource being profiled. Current values:

  • google/bigquery/table
  • google/project
  • google/sql/table
  • google/gcs/bucket

string data_source = 1;

Parameter
Name Description
value String

The dataSource to set.

Returns
Type Description
DataSourceType.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

public DataSourceType.Builder setDataSourceBytes(ByteString value)

A string that identifies the type of resource being profiled. Current values:

  • google/bigquery/table
  • google/project
  • google/sql/table
  • google/gcs/bucket

string data_source = 1;

Parameter
Name Description
value ByteString

The bytes for dataSource to set.

Returns
Type Description
DataSourceType.Builder

This builder for chaining.