Class AudienceEventTrigger.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudienceEventTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides

build()

public AudienceEventTrigger build()
Returns
TypeDescription
AudienceEventTrigger

buildPartial()

public AudienceEventTrigger buildPartial()
Returns
TypeDescription
AudienceEventTrigger

clear()

public AudienceEventTrigger.Builder clear()
Returns
TypeDescription
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
TypeDescription
AudienceEventTrigger.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AudienceEventTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AudienceEventTrigger.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudienceEventTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides

clone()

public AudienceEventTrigger.Builder clone()
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides

getDefaultInstanceForType()

public AudienceEventTrigger getDefaultInstanceForType()
Returns
TypeDescription
AudienceEventTrigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEventName()

public String getEventName()

Required. The event name that will be logged.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logCondition.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AudienceEventTrigger other)

public AudienceEventTrigger.Builder mergeFrom(AudienceEventTrigger other)
Parameter
NameDescription
otherAudienceEventTrigger
Returns
TypeDescription
AudienceEventTrigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AudienceEventTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AudienceEventTrigger.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceEventTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The eventName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for eventName to set.

Returns
TypeDescription
AudienceEventTrigger.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AudienceEventTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceEventTrigger.LogCondition

The logCondition to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for logCondition to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AudienceEventTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudienceEventTrigger.Builder
Overrides