public static final class RecordKey.Builder extends GeneratedMessageV3.Builder<RecordKey.Builder> implements RecordKeyOrBuilder
Message for a unique key indicating a record that contains a finding.
Protobuf type google.privacy.dlp.v2.RecordKey
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllIdValues(Iterable<String> values)
public RecordKey.Builder addAllIdValues(Iterable<String> values)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameter
Returns
addIdValues(String value)
public RecordKey.Builder addIdValues(String value)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameter
Name | Description |
value | String
The idValues to add.
|
Returns
addIdValuesBytes(ByteString value)
public RecordKey.Builder addIdValuesBytes(ByteString value)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameter
Name | Description |
value | ByteString
The bytes of the idValues to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public RecordKey buildPartial()
Returns
clear()
public RecordKey.Builder clear()
Returns
Overrides
clearBigQueryKey()
public RecordKey.Builder clearBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
clearDatastoreKey()
public RecordKey.Builder clearDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public RecordKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIdValues()
public RecordKey.Builder clearIdValues()
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public RecordKey.Builder clearType()
Returns
clone()
public RecordKey.Builder clone()
Returns
Overrides
getBigQueryKey()
public BigQueryKey getBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
getBigQueryKeyBuilder()
public BigQueryKey.Builder getBigQueryKeyBuilder()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
getBigQueryKeyOrBuilder()
public BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
getDatastoreKey()
public DatastoreKey getDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
getDatastoreKeyBuilder()
public DatastoreKey.Builder getDatastoreKeyBuilder()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
getDatastoreKeyOrBuilder()
public DatastoreKeyOrBuilder getDatastoreKeyOrBuilder()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
getDefaultInstanceForType()
public RecordKey getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIdValues(int index)
public String getIdValues(int index)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The idValues at the given index.
|
getIdValuesBytes(int index)
public ByteString getIdValuesBytes(int index)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the idValues at the given index.
|
getIdValuesCount()
public int getIdValuesCount()
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Returns
Type | Description |
int | The count of idValues.
|
getIdValuesList()
public ProtocolStringList getIdValuesList()
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Returns
getTypeCase()
public RecordKey.TypeCase getTypeCase()
Returns
hasBigQueryKey()
public boolean hasBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Returns
Type | Description |
boolean | Whether the bigQueryKey field is set.
|
hasDatastoreKey()
public boolean hasDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Returns
Type | Description |
boolean | Whether the datastoreKey field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBigQueryKey(BigQueryKey value)
public RecordKey.Builder mergeBigQueryKey(BigQueryKey value)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Parameter
Returns
mergeDatastoreKey(DatastoreKey value)
public RecordKey.Builder mergeDatastoreKey(DatastoreKey value)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Parameter
Returns
mergeFrom(RecordKey other)
public RecordKey.Builder mergeFrom(RecordKey other)
Parameter
Returns
public RecordKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecordKey.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBigQueryKey(BigQueryKey value)
public RecordKey.Builder setBigQueryKey(BigQueryKey value)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Parameter
Returns
setBigQueryKey(BigQueryKey.Builder builderForValue)
public RecordKey.Builder setBigQueryKey(BigQueryKey.Builder builderForValue)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
Parameter
Returns
setDatastoreKey(DatastoreKey value)
public RecordKey.Builder setDatastoreKey(DatastoreKey value)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Parameter
Returns
setDatastoreKey(DatastoreKey.Builder builderForValue)
public RecordKey.Builder setDatastoreKey(DatastoreKey.Builder builderForValue)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecordKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIdValues(int index, String value)
public RecordKey.Builder setIdValues(int index, String value)
Values of identifying columns in the given row. Order of values matches
the order of identifying_fields
specified in the scanning request.
repeated string id_values = 5;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The idValues to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides