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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSourceType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataSourceType build()
buildPartial()
public DataSourceType buildPartial()
clear()
public DataSourceType.Builder clear()
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
- google/sql/table
- google/gcs/bucket
string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public DataSourceType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSourceType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DataSourceType.Builder clone()
Overrides
getDataSource()
public String getDataSource()
Output only. An identifying string to the type of resource being profiled.
Current values:
- google/bigquery/table
- google/project
- google/sql/table
- google/gcs/bucket
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
- google/sql/table
- google/gcs/bucket
string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for dataSource.
|
getDefaultInstanceForType()
public DataSourceType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataSourceType other)
public DataSourceType.Builder mergeFrom(DataSourceType other)
public DataSourceType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataSourceType.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
- google/sql/table
- google/gcs/bucket
string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The dataSource to set.
|
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
- google/sql/table
- google/gcs/bucket
string data_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataSource to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataSourceType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSourceType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides