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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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