public final class DataRedactionSettings extends GeneratedMessageV3 implements DataRedactionSettingsOrBuilder
Settings for client-side data redaction. Singleton resource under a Web
Stream.
Protobuf type google.analytics.admin.v1alpha.DataRedactionSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EMAIL_REDACTION_ENABLED_FIELD_NUMBER
public static final int EMAIL_REDACTION_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUERY_PARAMETER_KEYS_FIELD_NUMBER
public static final int QUERY_PARAMETER_KEYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUERY_PARAMETER_REDACTION_ENABLED_FIELD_NUMBER
public static final int QUERY_PARAMETER_REDACTION_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataRedactionSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataRedactionSettings.Builder newBuilder()
newBuilder(DataRedactionSettings prototype)
public static DataRedactionSettings.Builder newBuilder(DataRedactionSettings prototype)
public static DataRedactionSettings parseDelimitedFrom(InputStream input)
public static DataRedactionSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataRedactionSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataRedactionSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataRedactionSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataRedactionSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataRedactionSettings parseFrom(CodedInputStream input)
public static DataRedactionSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataRedactionSettings parseFrom(InputStream input)
public static DataRedactionSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataRedactionSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataRedactionSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataRedactionSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataRedactionSettings getDefaultInstanceForType()
getEmailRedactionEnabled()
public boolean getEmailRedactionEnabled()
If enabled, any event parameter or user property values that look like an
email will be redacted.
bool email_redaction_enabled = 2;
Returns |
Type |
Description |
boolean |
The emailRedactionEnabled.
|
getName()
Output only. Name of this Data Redaction Settings resource.
Format:
properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings
Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Name of this Data Redaction Settings resource.
Format:
properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings
Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<DataRedactionSettings> getParserForType()
Overrides
getQueryParameterKeys(int index)
public String getQueryParameterKeys(int index)
The query parameter keys to apply redaction logic to if present in the URL.
Query parameter matching is case-insensitive.
Must contain at least one element if query_parameter_replacement_enabled
is true. Keys cannot contain commas.
repeated string query_parameter_keys = 4;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The queryParameterKeys at the given index.
|
getQueryParameterKeysBytes(int index)
public ByteString getQueryParameterKeysBytes(int index)
The query parameter keys to apply redaction logic to if present in the URL.
Query parameter matching is case-insensitive.
Must contain at least one element if query_parameter_replacement_enabled
is true. Keys cannot contain commas.
repeated string query_parameter_keys = 4;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the queryParameterKeys at the given index.
|
getQueryParameterKeysCount()
public int getQueryParameterKeysCount()
The query parameter keys to apply redaction logic to if present in the URL.
Query parameter matching is case-insensitive.
Must contain at least one element if query_parameter_replacement_enabled
is true. Keys cannot contain commas.
repeated string query_parameter_keys = 4;
Returns |
Type |
Description |
int |
The count of queryParameterKeys.
|
getQueryParameterKeysList()
public ProtocolStringList getQueryParameterKeysList()
The query parameter keys to apply redaction logic to if present in the URL.
Query parameter matching is case-insensitive.
Must contain at least one element if query_parameter_replacement_enabled
is true. Keys cannot contain commas.
repeated string query_parameter_keys = 4;
getQueryParameterRedactionEnabled()
public boolean getQueryParameterRedactionEnabled()
Query Parameter redaction removes the key and value portions of a
query parameter if it is in the configured set of query parameters.
If enabled, URL query replacement logic will be run for the Stream. Any
query parameters defined in query_parameter_keys will be redacted.
bool query_parameter_redaction_enabled = 3;
Returns |
Type |
Description |
boolean |
The queryParameterRedactionEnabled.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataRedactionSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataRedactionSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DataRedactionSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides