Class DataSourceType.Builder (3.48.0)

public static final class DataSourceType.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project

string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSourceType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataSource()

public String getDataSource()

Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project

string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project

string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataSource(String value)

public DataSourceType.Builder setDataSource(String value)

Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project

string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. An identifying string to the type of resource being profiled. Current values: google/bigquery/table, google/project

string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dataSource to set.

Returns
Type Description
DataSourceType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DataSourceType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataSourceType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataSourceType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataSourceType.Builder
Overrides