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.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
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;
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecordKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public RecordKey buildPartial()
clear()
public RecordKey.Builder clear()
Overrides
clearBigQueryKey()
public RecordKey.Builder clearBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
clearDatastoreKey()
public RecordKey.Builder clearDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
clearField(Descriptors.FieldDescriptor field)
public RecordKey.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public RecordKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public RecordKey.Builder clearType()
clone()
public RecordKey.Builder clone()
Overrides
getBigQueryKey()
public BigQueryKey getBigQueryKey()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
getBigQueryKeyBuilder()
public BigQueryKey.Builder getBigQueryKeyBuilder()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
getBigQueryKeyOrBuilder()
public BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
getDatastoreKey()
public DatastoreKey getDatastoreKey()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
getDatastoreKeyBuilder()
public DatastoreKey.Builder getDatastoreKeyBuilder()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
getDatastoreKeyOrBuilder()
public DatastoreKeyOrBuilder getDatastoreKeyOrBuilder()
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
getDefaultInstanceForType()
public RecordKey getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getTypeCase()
public RecordKey.TypeCase getTypeCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBigQueryKey(BigQueryKey value)
public RecordKey.Builder mergeBigQueryKey(BigQueryKey value)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
mergeDatastoreKey(DatastoreKey value)
public RecordKey.Builder mergeDatastoreKey(DatastoreKey value)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
mergeFrom(RecordKey other)
public RecordKey.Builder mergeFrom(RecordKey other)
public RecordKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RecordKey.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecordKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBigQueryKey(BigQueryKey value)
public RecordKey.Builder setBigQueryKey(BigQueryKey value)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
setBigQueryKey(BigQueryKey.Builder builderForValue)
public RecordKey.Builder setBigQueryKey(BigQueryKey.Builder builderForValue)
.google.privacy.dlp.v2.BigQueryKey big_query_key = 3;
setDatastoreKey(DatastoreKey value)
public RecordKey.Builder setDatastoreKey(DatastoreKey value)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
setDatastoreKey(DatastoreKey.Builder builderForValue)
public RecordKey.Builder setDatastoreKey(DatastoreKey.Builder builderForValue)
.google.privacy.dlp.v2.DatastoreKey datastore_key = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public RecordKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecordKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecordKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides