Class DataSourceType.Builder (3.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataSourceType build()
Returns
TypeDescription
DataSourceType

buildPartial()

public DataSourceType buildPartial()
Returns
TypeDescription
DataSourceType

clear()

public DataSourceType.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataSourceType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataSourceType.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataSourceType getDefaultInstanceForType()
Returns
TypeDescription
DataSourceType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataSourceType other)

public DataSourceType.Builder mergeFrom(DataSourceType other)
Parameter
NameDescription
otherDataSourceType
Returns
TypeDescription
DataSourceType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataSourceType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataSource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataSource to set.

Returns
TypeDescription
DataSourceType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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