Class EventCreateRule
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.EventCreateRule
- All Implemented Interfaces:
EventCreateRuleOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EventCreateRule
extends com.google.protobuf.GeneratedMessage
implements EventCreateRuleOrBuilder
An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined. Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently. Event Edit and Event Create rules can't be used to modify an event created from an Event Create rule.Protobuf type
google.analytics.admin.v1alpha.EventCreateRule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EventCreateRulestatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEventConditions(int index) Required.intRequired.Required.getEventConditionsOrBuilder(int index) Required.List<? extends MatchingConditionOrBuilder>Required.getName()Output only.com.google.protobuf.ByteStringOutput only.getParameterMutations(int index) Parameter mutations define parameter behavior on the new event, and are applied in order.intParameter mutations define parameter behavior on the new event, and are applied in order.Parameter mutations define parameter behavior on the new event, and are applied in order.getParameterMutationsOrBuilder(int index) Parameter mutations define parameter behavior on the new event, and are applied in order.List<? extends ParameterMutationOrBuilder>Parameter mutations define parameter behavior on the new event, and are applied in order.com.google.protobuf.Parser<EventCreateRule>intbooleanIf true, the source parameters are copied to the new event.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EventCreateRule.Builderstatic EventCreateRule.BuildernewBuilder(EventCreateRule prototype) protected EventCreateRule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EventCreateRuleparseDelimitedFrom(InputStream input) static EventCreateRuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventCreateRuleparseFrom(byte[] data) static EventCreateRuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventCreateRuleparseFrom(com.google.protobuf.ByteString data) static EventCreateRuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventCreateRuleparseFrom(com.google.protobuf.CodedInputStream input) static EventCreateRuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventCreateRuleparseFrom(InputStream input) static EventCreateRuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventCreateRuleparseFrom(ByteBuffer data) static EventCreateRuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EventCreateRule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESTINATION_EVENT_FIELD_NUMBER
public static final int DESTINATION_EVENT_FIELD_NUMBER- See Also:
-
EVENT_CONDITIONS_FIELD_NUMBER
public static final int EVENT_CONDITIONS_FIELD_NUMBER- See Also:
-
SOURCE_COPY_PARAMETERS_FIELD_NUMBER
public static final int SOURCE_COPY_PARAMETERS_FIELD_NUMBER- See Also:
-
PARAMETER_MUTATIONS_FIELD_NUMBER
public static final int PARAMETER_MUTATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceEventCreateRuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceEventCreateRuleOrBuilder- Returns:
- The bytes for name.
-
getDestinationEvent
Required. The name of the new event to be created. This value must: * be less than 40 characters * consist only of letters, digits or _ (underscores) * start with a letter
string destination_event = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationEventin interfaceEventCreateRuleOrBuilder- Returns:
- The destinationEvent.
-
getDestinationEventBytes
public com.google.protobuf.ByteString getDestinationEventBytes()Required. The name of the new event to be created. This value must: * be less than 40 characters * consist only of letters, digits or _ (underscores) * start with a letter
string destination_event = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDestinationEventBytesin interfaceEventCreateRuleOrBuilder- Returns:
- The bytes for destinationEvent.
-
getEventConditionsList
Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEventConditionsListin interfaceEventCreateRuleOrBuilder
-
getEventConditionsOrBuilderList
Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEventConditionsOrBuilderListin interfaceEventCreateRuleOrBuilder
-
getEventConditionsCount
public int getEventConditionsCount()Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEventConditionsCountin interfaceEventCreateRuleOrBuilder
-
getEventConditions
Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEventConditionsin interfaceEventCreateRuleOrBuilder
-
getEventConditionsOrBuilder
Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEventConditionsOrBuilderin interfaceEventCreateRuleOrBuilder
-
getSourceCopyParameters
public boolean getSourceCopyParameters()If true, the source parameters are copied to the new event. If false, or unset, all non-internal parameters are not copied from the source event. Parameter mutations are applied after the parameters have been copied.
bool source_copy_parameters = 4;- Specified by:
getSourceCopyParametersin interfaceEventCreateRuleOrBuilder- Returns:
- The sourceCopyParameters.
-
getParameterMutationsList
Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;- Specified by:
getParameterMutationsListin interfaceEventCreateRuleOrBuilder
-
getParameterMutationsOrBuilderList
Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;- Specified by:
getParameterMutationsOrBuilderListin interfaceEventCreateRuleOrBuilder
-
getParameterMutationsCount
public int getParameterMutationsCount()Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;- Specified by:
getParameterMutationsCountin interfaceEventCreateRuleOrBuilder
-
getParameterMutations
Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;- Specified by:
getParameterMutationsin interfaceEventCreateRuleOrBuilder
-
getParameterMutationsOrBuilder
Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5;- Specified by:
getParameterMutationsOrBuilderin interfaceEventCreateRuleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EventCreateRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventCreateRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventCreateRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventCreateRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventCreateRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EventCreateRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EventCreateRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EventCreateRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EventCreateRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EventCreateRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EventCreateRule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-