- 0.62.0 (latest)
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class Audience.Builder extends GeneratedMessageV3.Builder<Audience.Builder> implements AudienceOrBuilder
A resource message representing a GA4 Audience.
Protobuf type google.analytics.admin.v1alpha.Audience
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Audience.BuilderImplements
AudienceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFilterClauses(Iterable<? extends AudienceFilterClause> values)
public Audience.Builder addAllFilterClauses(Iterable<? extends AudienceFilterClause> values)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1alpha.AudienceFilterClause> |
Type | Description |
Audience.Builder |
addFilterClauses(AudienceFilterClause value)
public Audience.Builder addFilterClauses(AudienceFilterClause value)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
value | AudienceFilterClause |
Type | Description |
Audience.Builder |
addFilterClauses(AudienceFilterClause.Builder builderForValue)
public Audience.Builder addFilterClauses(AudienceFilterClause.Builder builderForValue)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
builderForValue | AudienceFilterClause.Builder |
Type | Description |
Audience.Builder |
addFilterClauses(int index, AudienceFilterClause value)
public Audience.Builder addFilterClauses(int index, AudienceFilterClause value)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
value | AudienceFilterClause |
Type | Description |
Audience.Builder |
addFilterClauses(int index, AudienceFilterClause.Builder builderForValue)
public Audience.Builder addFilterClauses(int index, AudienceFilterClause.Builder builderForValue)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
builderForValue | AudienceFilterClause.Builder |
Type | Description |
Audience.Builder |
addFilterClausesBuilder()
public AudienceFilterClause.Builder addFilterClausesBuilder()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
AudienceFilterClause.Builder |
addFilterClausesBuilder(int index)
public AudienceFilterClause.Builder addFilterClausesBuilder(int index)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
Type | Description |
AudienceFilterClause.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Audience.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Audience.Builder |
build()
public Audience build()
Type | Description |
Audience |
buildPartial()
public Audience buildPartial()
Type | Description |
Audience |
clear()
public Audience.Builder clear()
Type | Description |
Audience.Builder |
clearAdsPersonalizationEnabled()
public Audience.Builder clearAdsPersonalizationEnabled()
Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.
bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Audience.Builder | This builder for chaining. |
clearDescription()
public Audience.Builder clearDescription()
Required. The description of the Audience.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Audience.Builder | This builder for chaining. |
clearDisplayName()
public Audience.Builder clearDisplayName()
Required. The display name of the Audience.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Audience.Builder | This builder for chaining. |
clearEventTrigger()
public Audience.Builder clearEventTrigger()
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Audience.Builder |
clearExclusionDurationMode()
public Audience.Builder clearExclusionDurationMode()
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Audience.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Audience.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Audience.Builder |
clearFilterClauses()
public Audience.Builder clearFilterClauses()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
Audience.Builder |
clearMembershipDurationDays()
public Audience.Builder clearMembershipDurationDays()
Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days.
int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Audience.Builder | This builder for chaining. |
clearName()
public Audience.Builder clearName()
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Audience.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Audience.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Audience.Builder |
clone()
public Audience.Builder clone()
Type | Description |
Audience.Builder |
getAdsPersonalizationEnabled()
public boolean getAdsPersonalizationEnabled()
Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.
bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | The adsPersonalizationEnabled. |
getDefaultInstanceForType()
public Audience getDefaultInstanceForType()
Type | Description |
Audience |
getDescription()
public String getDescription()
Required. The description of the Audience.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Required. The description of the Audience.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of the Audience.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the Audience.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getEventTrigger()
public AudienceEventTrigger getEventTrigger()
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AudienceEventTrigger | The eventTrigger. |
getEventTriggerBuilder()
public AudienceEventTrigger.Builder getEventTriggerBuilder()
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AudienceEventTrigger.Builder |
getEventTriggerOrBuilder()
public AudienceEventTriggerOrBuilder getEventTriggerOrBuilder()
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AudienceEventTriggerOrBuilder |
getExclusionDurationMode()
public Audience.AudienceExclusionDurationMode getExclusionDurationMode()
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Audience.AudienceExclusionDurationMode | The exclusionDurationMode. |
getExclusionDurationModeValue()
public int getExclusionDurationModeValue()
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The enum numeric value on the wire for exclusionDurationMode. |
getFilterClauses(int index)
public AudienceFilterClause getFilterClauses(int index)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
Type | Description |
AudienceFilterClause |
getFilterClausesBuilder(int index)
public AudienceFilterClause.Builder getFilterClausesBuilder(int index)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
Type | Description |
AudienceFilterClause.Builder |
getFilterClausesBuilderList()
public List<AudienceFilterClause.Builder> getFilterClausesBuilderList()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
List<Builder> |
getFilterClausesCount()
public int getFilterClausesCount()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
int |
getFilterClausesList()
public List<AudienceFilterClause> getFilterClausesList()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
List<AudienceFilterClause> |
getFilterClausesOrBuilder(int index)
public AudienceFilterClauseOrBuilder getFilterClausesOrBuilder(int index)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
Type | Description |
AudienceFilterClauseOrBuilder |
getFilterClausesOrBuilderList()
public List<? extends AudienceFilterClauseOrBuilder> getFilterClausesOrBuilderList()
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder> |
getMembershipDurationDays()
public int getMembershipDurationDays()
Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days.
int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The membershipDurationDays. |
getName()
public String getName()
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
hasEventTrigger()
public boolean hasEventTrigger()
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the eventTrigger field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEventTrigger(AudienceEventTrigger value)
public Audience.Builder mergeEventTrigger(AudienceEventTrigger value)
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | AudienceEventTrigger |
Type | Description |
Audience.Builder |
mergeFrom(Audience other)
public Audience.Builder mergeFrom(Audience other)
Name | Description |
other | Audience |
Type | Description |
Audience.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Audience.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Audience.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Audience.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Audience.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Audience.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Audience.Builder |
removeFilterClauses(int index)
public Audience.Builder removeFilterClauses(int index)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
Type | Description |
Audience.Builder |
setAdsPersonalizationEnabled(boolean value)
public Audience.Builder setAdsPersonalizationEnabled(boolean value)
Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.
bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | boolean The adsPersonalizationEnabled to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setDescription(String value)
public Audience.Builder setDescription(String value)
Required. The description of the Audience.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The description to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Audience.Builder setDescriptionBytes(ByteString value)
Required. The description of the Audience.
string description = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setDisplayName(String value)
public Audience.Builder setDisplayName(String value)
Required. The display name of the Audience.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Audience.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the Audience.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setEventTrigger(AudienceEventTrigger value)
public Audience.Builder setEventTrigger(AudienceEventTrigger value)
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | AudienceEventTrigger |
Type | Description |
Audience.Builder |
setEventTrigger(AudienceEventTrigger.Builder builderForValue)
public Audience.Builder setEventTrigger(AudienceEventTrigger.Builder builderForValue)
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
.google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | AudienceEventTrigger.Builder |
Type | Description |
Audience.Builder |
setExclusionDurationMode(Audience.AudienceExclusionDurationMode value)
public Audience.Builder setExclusionDurationMode(Audience.AudienceExclusionDurationMode value)
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Audience.AudienceExclusionDurationMode The exclusionDurationMode to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setExclusionDurationModeValue(int value)
public Audience.Builder setExclusionDurationModeValue(int value)
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The enum numeric value on the wire for exclusionDurationMode to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Audience.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Audience.Builder |
setFilterClauses(int index, AudienceFilterClause value)
public Audience.Builder setFilterClauses(int index, AudienceFilterClause value)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
value | AudienceFilterClause |
Type | Description |
Audience.Builder |
setFilterClauses(int index, AudienceFilterClause.Builder builderForValue)
public Audience.Builder setFilterClauses(int index, AudienceFilterClause.Builder builderForValue)
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
Name | Description |
index | int |
builderForValue | AudienceFilterClause.Builder |
Type | Description |
Audience.Builder |
setMembershipDurationDays(int value)
public Audience.Builder setMembershipDurationDays(int value)
Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days.
int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The membershipDurationDays to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setName(String value)
public Audience.Builder setName(String value)
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Audience.Builder setNameBytes(ByteString value)
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Audience.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Audience.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Audience.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Audience.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Audience.Builder |