Class AudienceEventTrigger.Builder (0.54.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudienceEventTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

build()

public AudienceEventTrigger build()
Returns
Type Description
AudienceEventTrigger

buildPartial()

public AudienceEventTrigger buildPartial()
Returns
Type Description
AudienceEventTrigger

clear()

public AudienceEventTrigger.Builder clear()
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

clearEventName()

public AudienceEventTrigger.Builder clearEventName()

Required. The event name that will be logged.

string event_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AudienceEventTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AudienceEventTrigger.Builder
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
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudienceEventTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

clone()

public AudienceEventTrigger.Builder clone()
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

getDefaultInstanceForType()

public AudienceEventTrigger getDefaultInstanceForType()
Returns
Type Description
AudienceEventTrigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
AudienceEventTrigger.LogCondition

The logCondition.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AudienceEventTrigger other)

public AudienceEventTrigger.Builder mergeFrom(AudienceEventTrigger other)
Parameter
Name Description
other AudienceEventTrigger
Returns
Type Description
AudienceEventTrigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AudienceEventTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventTrigger.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AudienceEventTrigger.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceEventTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudienceEventTrigger.Builder
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
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

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
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AudienceEventTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudienceEventTrigger.Builder
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
Name Description
value AudienceEventTrigger.LogCondition

The logCondition to set.

Returns
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

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
Type Description
AudienceEventTrigger.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AudienceEventTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AudienceEventTrigger.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AudienceEventTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudienceEventTrigger.Builder
Overrides