Interface MatchingConditionOrBuilder (0.51.0)

public interface MatchingConditionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComparisonType()

public abstract MatchingCondition.ComparisonType getComparisonType()

Required. The type of comparison to be applied to the value.

.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MatchingCondition.ComparisonType

The comparisonType.

getComparisonTypeValue()

public abstract int getComparisonTypeValue()

Required. The type of comparison to be applied to the value.

.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for comparisonType.

getField()

public abstract String getField()

Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name.

This value cannot contain spaces.

string field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name.

This value cannot contain spaces.

string field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for field.

getNegated()

public abstract boolean getNegated()

Whether or not the result of the comparison should be negated. For example, if negated is true, then 'equals' comparisons would function as 'not equals'.

bool negated = 4;

Returns
TypeDescription
boolean

The negated.

getValue()

public abstract String getValue()

Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.

string value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.

string value = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for value.