- 0.63.0 (latest)
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class DataRedactionSettings.Builder extends GeneratedMessageV3.Builder<DataRedactionSettings.Builder> implements DataRedactionSettingsOrBuilder
Settings for client-side data redaction. Singleton resource under a Web Stream.
Protobuf type google.analytics.admin.v1alpha.DataRedactionSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataRedactionSettings.BuilderImplements
DataRedactionSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllQueryParameterKeys(Iterable<String> values)
public DataRedactionSettings.Builder addAllQueryParameterKeys(Iterable<String> values)
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 |
values |
Iterable<String> The queryParameterKeys to add. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
addQueryParameterKeys(String value)
public DataRedactionSettings.Builder addQueryParameterKeys(String value)
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 |
value |
String The queryParameterKeys to add. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
addQueryParameterKeysBytes(ByteString value)
public DataRedactionSettings.Builder addQueryParameterKeysBytes(ByteString value)
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 |
value |
ByteString The bytes of the queryParameterKeys to add. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataRedactionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
build()
public DataRedactionSettings build()
Returns | |
---|---|
Type | Description |
DataRedactionSettings |
buildPartial()
public DataRedactionSettings buildPartial()
Returns | |
---|---|
Type | Description |
DataRedactionSettings |
clear()
public DataRedactionSettings.Builder clear()
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
clearEmailRedactionEnabled()
public DataRedactionSettings.Builder clearEmailRedactionEnabled()
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 |
DataRedactionSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataRedactionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
clearName()
public DataRedactionSettings.Builder clearName()
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 |
DataRedactionSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataRedactionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
clearQueryParameterKeys()
public DataRedactionSettings.Builder clearQueryParameterKeys()
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 |
DataRedactionSettings.Builder |
This builder for chaining. |
clearQueryParameterRedactionEnabled()
public DataRedactionSettings.Builder clearQueryParameterRedactionEnabled()
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 |
DataRedactionSettings.Builder |
This builder for chaining. |
clone()
public DataRedactionSettings.Builder clone()
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
getDefaultInstanceForType()
public DataRedactionSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataRedactionSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public String 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. |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the queryParameterKeys. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataRedactionSettings other)
public DataRedactionSettings.Builder mergeFrom(DataRedactionSettings other)
Parameter | |
---|---|
Name | Description |
other |
DataRedactionSettings |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataRedactionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataRedactionSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataRedactionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
setEmailRedactionEnabled(boolean value)
public DataRedactionSettings.Builder setEmailRedactionEnabled(boolean value)
If enabled, any event parameter or user property values that look like an email will be redacted.
bool email_redaction_enabled = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The emailRedactionEnabled to set. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataRedactionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
setName(String value)
public DataRedactionSettings.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataRedactionSettings.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
setQueryParameterKeys(int index, String value)
public DataRedactionSettings.Builder setQueryParameterKeys(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The queryParameterKeys to set. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
setQueryParameterRedactionEnabled(boolean value)
public DataRedactionSettings.Builder setQueryParameterRedactionEnabled(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The queryParameterRedactionEnabled to set. |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataRedactionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataRedactionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataRedactionSettings.Builder |