public static final class AudienceList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder> implements AudienceListOrBuilder
An audience list is a list of users in an audience at the time of the list's creation. One audience may have multiple audience lists created for different days.Protobuf type
google.analytics.data.v1alpha.AudienceListgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AudienceList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AudienceList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AudienceList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudienceList.Builder>public AudienceList.Builder mergeFrom(AudienceList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public AudienceList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudienceList.Builder>IOExceptionpublic String getName()
Output only. The audience list resource name assigned during creation. This
resource name identifies this `AudienceList`.
Format: `properties/{propertyId}/audienceLists/{audienceListId}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AudienceListOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The audience list resource name assigned during creation. This
resource name identifies this `AudienceList`.
Format: `properties/{propertyId}/audienceLists/{audienceListId}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AudienceListOrBuilderpublic AudienceList.Builder setName(String value)
Output only. The audience list resource name assigned during creation. This
resource name identifies this `AudienceList`.
Format: `properties/{propertyId}/audienceLists/{audienceListId}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public AudienceList.Builder clearName()
Output only. The audience list resource name assigned during creation. This
resource name identifies this `AudienceList`.
Format: `properties/{propertyId}/audienceLists/{audienceListId}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public AudienceList.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The audience list resource name assigned during creation. This
resource name identifies this `AudienceList`.
Format: `properties/{propertyId}/audienceLists/{audienceListId}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getAudience()
Required. The audience resource name. This resource name identifies the
audience being listed and is shared between the Analytics Data & Admin
APIs.
Format: `properties/{propertyId}/audiences/{audienceId}`
string audience = 2 [(.google.api.field_behavior) = REQUIRED];getAudience in interface AudienceListOrBuilderpublic com.google.protobuf.ByteString getAudienceBytes()
Required. The audience resource name. This resource name identifies the
audience being listed and is shared between the Analytics Data & Admin
APIs.
Format: `properties/{propertyId}/audiences/{audienceId}`
string audience = 2 [(.google.api.field_behavior) = REQUIRED];getAudienceBytes in interface AudienceListOrBuilderpublic AudienceList.Builder setAudience(String value)
Required. The audience resource name. This resource name identifies the
audience being listed and is shared between the Analytics Data & Admin
APIs.
Format: `properties/{propertyId}/audiences/{audienceId}`
string audience = 2 [(.google.api.field_behavior) = REQUIRED];value - The audience to set.public AudienceList.Builder clearAudience()
Required. The audience resource name. This resource name identifies the
audience being listed and is shared between the Analytics Data & Admin
APIs.
Format: `properties/{propertyId}/audiences/{audienceId}`
string audience = 2 [(.google.api.field_behavior) = REQUIRED];public AudienceList.Builder setAudienceBytes(com.google.protobuf.ByteString value)
Required. The audience resource name. This resource name identifies the
audience being listed and is shared between the Analytics Data & Admin
APIs.
Format: `properties/{propertyId}/audiences/{audienceId}`
string audience = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for audience to set.public String getAudienceDisplayName()
Output only. The descriptive display name for this audience. For example, "Purchasers".
string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getAudienceDisplayName in interface AudienceListOrBuilderpublic com.google.protobuf.ByteString getAudienceDisplayNameBytes()
Output only. The descriptive display name for this audience. For example, "Purchasers".
string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getAudienceDisplayNameBytes in interface AudienceListOrBuilderpublic AudienceList.Builder setAudienceDisplayName(String value)
Output only. The descriptive display name for this audience. For example, "Purchasers".
string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The audienceDisplayName to set.public AudienceList.Builder clearAudienceDisplayName()
Output only. The descriptive display name for this audience. For example, "Purchasers".
string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public AudienceList.Builder setAudienceDisplayNameBytes(com.google.protobuf.ByteString value)
Output only. The descriptive display name for this audience. For example, "Purchasers".
string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for audienceDisplayName to set.public List<AudienceDimension> getDimensionsList()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
getDimensionsList in interface AudienceListOrBuilderpublic int getDimensionsCount()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
getDimensionsCount in interface AudienceListOrBuilderpublic AudienceDimension getDimensions(int index)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
getDimensions in interface AudienceListOrBuilderpublic AudienceList.Builder setDimensions(int index, AudienceDimension value)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder setDimensions(int index, AudienceDimension.Builder builderForValue)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder addDimensions(AudienceDimension value)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder addDimensions(int index, AudienceDimension value)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder addDimensions(AudienceDimension.Builder builderForValue)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder addDimensions(int index, AudienceDimension.Builder builderForValue)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder addAllDimensions(Iterable<? extends AudienceDimension> values)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder clearDimensions()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceList.Builder removeDimensions(int index)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceDimension.Builder getDimensionsBuilder(int index)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceDimensionOrBuilder getDimensionsOrBuilder(int index)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
getDimensionsOrBuilder in interface AudienceListOrBuilderpublic List<? extends AudienceDimensionOrBuilder> getDimensionsOrBuilderList()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
getDimensionsOrBuilderList in interface AudienceListOrBuilderpublic AudienceDimension.Builder addDimensionsBuilder()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public AudienceDimension.Builder addDimensionsBuilder(int index)
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public List<AudienceDimension.Builder> getDimensionsBuilderList()
Required. The dimensions requested and displayed in the report response.
repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
public boolean hasState()
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasState in interface AudienceListOrBuilderpublic int getStateValue()
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface AudienceListOrBuilderpublic AudienceList.Builder setStateValue(int value)
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public AudienceList.State getState()
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface AudienceListOrBuilderpublic AudienceList.Builder setState(AudienceList.State value)
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public AudienceList.Builder clearState()
Output only. The current state for this AudienceList.
optional .google.analytics.data.v1alpha.AudienceList.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasBeginCreatingTime()
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasBeginCreatingTime in interface AudienceListOrBuilderpublic com.google.protobuf.Timestamp getBeginCreatingTime()
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBeginCreatingTime in interface AudienceListOrBuilderpublic AudienceList.Builder setBeginCreatingTime(com.google.protobuf.Timestamp value)
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AudienceList.Builder setBeginCreatingTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AudienceList.Builder mergeBeginCreatingTime(com.google.protobuf.Timestamp value)
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AudienceList.Builder clearBeginCreatingTime()
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getBeginCreatingTimeBuilder()
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getBeginCreatingTimeOrBuilder()
Output only. The time when CreateAudienceList was called and the AudienceList began the `CREATING` state.
optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBeginCreatingTimeOrBuilder in interface AudienceListOrBuilderpublic final AudienceList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>public final AudienceList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AudienceList.Builder>Copyright © 2023 Google LLC. All rights reserved.