public final class EventMapping extends GeneratedMessageV3 implements EventMappingOrBuilder
Event setting conditions to match an event.
Protobuf type google.analytics.admin.v1alpha.EventMapping
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
EVENT_NAME_FIELD_NUMBER
public static final int EVENT_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_EVENT_COUNT_FIELD_NUMBER
public static final int MAX_EVENT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_EVENT_VALUE_FIELD_NUMBER
public static final int MAX_EVENT_VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIN_EVENT_COUNT_FIELD_NUMBER
public static final int MIN_EVENT_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIN_EVENT_VALUE_FIELD_NUMBER
public static final int MIN_EVENT_VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static EventMapping getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EventMapping.Builder newBuilder()
newBuilder(EventMapping prototype)
public static EventMapping.Builder newBuilder(EventMapping prototype)
public static EventMapping parseDelimitedFrom(InputStream input)
public static EventMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EventMapping parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EventMapping parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventMapping parseFrom(CodedInputStream input)
public static EventMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventMapping parseFrom(InputStream input)
public static EventMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EventMapping parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EventMapping> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public EventMapping getDefaultInstanceForType()
getEventName()
public String getEventName()
Required. Name of the GA4 event. It must always be set.
The max allowed display name length is 40 UTF-16 code units.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The eventName.
|
getEventNameBytes()
public ByteString getEventNameBytes()
Required. Name of the GA4 event. It must always be set.
The max allowed display name length is 40 UTF-16 code units.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for eventName.
|
getMaxEventCount()
public long getMaxEventCount()
The maximum number of times the event occurred. If not set, maximum event
count won't be checked.
optional int64 max_event_count = 3;
Returns |
---|
Type | Description |
long | The maxEventCount.
|
getMaxEventValue()
public double getMaxEventValue()
The maximum revenue generated due to the event. Revenue currency will be
defined at the property level. If not set, maximum event value won't be
checked.
optional double max_event_value = 5;
Returns |
---|
Type | Description |
double | The maxEventValue.
|
getMinEventCount()
public long getMinEventCount()
At least one of the following four min/max values must be set. The
values set will be ANDed together to qualify an event.
The minimum number of times the event occurred. If not set, minimum event
count won't be checked.
optional int64 min_event_count = 2;
Returns |
---|
Type | Description |
long | The minEventCount.
|
getMinEventValue()
public double getMinEventValue()
The minimum revenue generated due to the event. Revenue currency will be
defined at the property level. If not set, minimum event value won't be
checked.
optional double min_event_value = 4;
Returns |
---|
Type | Description |
double | The minEventValue.
|
getParserForType()
public Parser<EventMapping> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasMaxEventCount()
public boolean hasMaxEventCount()
The maximum number of times the event occurred. If not set, maximum event
count won't be checked.
optional int64 max_event_count = 3;
Returns |
---|
Type | Description |
boolean | Whether the maxEventCount field is set.
|
hasMaxEventValue()
public boolean hasMaxEventValue()
The maximum revenue generated due to the event. Revenue currency will be
defined at the property level. If not set, maximum event value won't be
checked.
optional double max_event_value = 5;
Returns |
---|
Type | Description |
boolean | Whether the maxEventValue field is set.
|
hasMinEventCount()
public boolean hasMinEventCount()
At least one of the following four min/max values must be set. The
values set will be ANDed together to qualify an event.
The minimum number of times the event occurred. If not set, minimum event
count won't be checked.
optional int64 min_event_count = 2;
Returns |
---|
Type | Description |
boolean | Whether the minEventCount field is set.
|
hasMinEventValue()
public boolean hasMinEventValue()
The minimum revenue generated due to the event. Revenue currency will be
defined at the property level. If not set, minimum event value won't be
checked.
optional double min_event_value = 4;
Returns |
---|
Type | Description |
boolean | Whether the minEventValue field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EventMapping.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public EventMapping.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides