Send feedback
Class AudienceEventTrigger.Builder (0.26.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.26.0 keyboard_arrow_down
public static final class AudienceEventTrigger . Builder extends GeneratedMessageV3 . Builder<AudienceEventTrigger . Builder > implements AudienceEventTriggerOrBuilder
Specifies an event to log when a user joins the Audience.
Protobuf type google.analytics.admin.v1alpha.AudienceEventTrigger
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventTrigger . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AudienceEventTrigger build ()
buildPartial()
public AudienceEventTrigger buildPartial ()
clear()
public AudienceEventTrigger . Builder clear ()
Overrides
clearEventName()
public AudienceEventTrigger . Builder clearEventName ()
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AudienceEventTrigger . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLogCondition()
public AudienceEventTrigger . Builder clearLogCondition ()
Required. When to log the event.
.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceEventTrigger . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public AudienceEventTrigger . Builder clone ()
Overrides
getDefaultInstanceForType()
public AudienceEventTrigger getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEventName()
public String getEventName ()
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The eventName.
getEventNameBytes()
public ByteString getEventNameBytes ()
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for eventName.
getLogCondition()
public AudienceEventTrigger . LogCondition getLogCondition ()
Required. When to log the event.
.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED];
getLogConditionValue()
public int getLogConditionValue ()
Required. When to log the event.
.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int
The enum numeric value on the wire for logCondition.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AudienceEventTrigger other)
public AudienceEventTrigger . Builder mergeFrom ( AudienceEventTrigger other )
public AudienceEventTrigger . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AudienceEventTrigger . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventTrigger . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEventName(String value)
public AudienceEventTrigger . Builder setEventName ( String value )
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The eventName to set.
setEventNameBytes(ByteString value)
public AudienceEventTrigger . Builder setEventNameBytes ( ByteString value )
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for eventName to set.
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventTrigger . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLogCondition(AudienceEventTrigger.LogCondition value)
public AudienceEventTrigger . Builder setLogCondition ( AudienceEventTrigger . LogCondition value )
Required. When to log the event.
.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED];
setLogConditionValue(int value)
public AudienceEventTrigger . Builder setLogConditionValue ( int value )
Required. When to log the event.
.google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
int
The enum numeric value on the wire for logCondition to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceEventTrigger . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventTrigger . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]