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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AudienceEventTrigger build()
Returns
buildPartial()
public AudienceEventTrigger buildPartial()
Returns
clear()
public AudienceEventTrigger.Builder clear()
Returns
Overrides
clearEventName()
public AudienceEventTrigger.Builder clearEventName()
Required. The event name that will be logged.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public AudienceEventTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceEventTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AudienceEventTrigger.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AudienceEventTrigger getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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];
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AudienceEventTrigger other)
public AudienceEventTrigger.Builder mergeFrom(AudienceEventTrigger other)
Parameter
Returns
public AudienceEventTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AudienceEventTrigger.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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];
Parameter
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceEventTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides