Class AudienceExport.Builder (0.47.0)

public static final class AudienceExport.Builder extends GeneratedMessageV3.Builder<AudienceExport.Builder> implements AudienceExportOrBuilder

An audience export is a list of users in an audience at the time of the list's creation. One audience may have multiple audience exports created for different days.

Protobuf type google.analytics.data.v1beta.AudienceExport

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDimensions(Iterable<? extends AudienceDimension> values)

public AudienceExport.Builder addAllDimensions(Iterable<? extends AudienceDimension> values)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.AudienceDimension>
Returns
TypeDescription
AudienceExport.Builder

addDimensions(AudienceDimension value)

public AudienceExport.Builder addDimensions(AudienceDimension value)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudienceDimension
Returns
TypeDescription
AudienceExport.Builder

addDimensions(AudienceDimension.Builder builderForValue)

public AudienceExport.Builder addDimensions(AudienceDimension.Builder builderForValue)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAudienceDimension.Builder
Returns
TypeDescription
AudienceExport.Builder

addDimensions(int index, AudienceDimension value)

public AudienceExport.Builder addDimensions(int index, AudienceDimension value)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAudienceDimension
Returns
TypeDescription
AudienceExport.Builder

addDimensions(int index, AudienceDimension.Builder builderForValue)

public AudienceExport.Builder addDimensions(int index, AudienceDimension.Builder builderForValue)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAudienceDimension.Builder
Returns
TypeDescription
AudienceExport.Builder

addDimensionsBuilder()

public AudienceDimension.Builder addDimensionsBuilder()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimension.Builder

addDimensionsBuilder(int index)

public AudienceDimension.Builder addDimensionsBuilder(int index)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceDimension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceExport build()
Returns
TypeDescription
AudienceExport

buildPartial()

public AudienceExport buildPartial()
Returns
TypeDescription
AudienceExport

clear()

public AudienceExport.Builder clear()
Returns
TypeDescription
AudienceExport.Builder
Overrides

clearAudience()

public AudienceExport.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/{property}/audiences/{audience}

string audience = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearAudienceDisplayName()

public AudienceExport.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];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearBeginCreatingTime()

public AudienceExport.Builder clearBeginCreatingTime()

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

clearCreationQuotaTokensCharged()

public AudienceExport.Builder clearCreationQuotaTokensCharged()

Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the CREATING state, this tokens charged will be fixed once an AudienceExport enters the ACTIVE or FAILED states.

int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearDimensions()

public AudienceExport.Builder clearDimensions()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceExport.Builder

clearErrorMessage()

public AudienceExport.Builder clearErrorMessage()

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AudienceExport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AudienceExport.Builder
Overrides

clearName()

public AudienceExport.Builder clearName()

Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this AudienceExport.

Format: properties/{property}/audienceExports/{audience_export}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPercentageCompleted()

public AudienceExport.Builder clearPercentageCompleted()

Output only. The percentage completed for this audience export ranging between 0 to 100.

optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearRowCount()

public AudienceExport.Builder clearRowCount()

Output only. The total number of rows in the AudienceExport result.

optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clearState()

public AudienceExport.Builder clearState()

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

clone()

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

getAudience()

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/{property}/audiences/{audience}

string audience = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The audience.

getAudienceBytes()

public 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/{property}/audiences/{audience}

string audience = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for audience.

getAudienceDisplayName()

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];

Returns
TypeDescription
String

The audienceDisplayName.

getAudienceDisplayNameBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for audienceDisplayName.

getBeginCreatingTime()

public Timestamp getBeginCreatingTime()

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The beginCreatingTime.

getBeginCreatingTimeBuilder()

public Timestamp.Builder getBeginCreatingTimeBuilder()

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getBeginCreatingTimeOrBuilder()

public TimestampOrBuilder getBeginCreatingTimeOrBuilder()

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCreationQuotaTokensCharged()

public int getCreationQuotaTokensCharged()

Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the CREATING state, this tokens charged will be fixed once an AudienceExport enters the ACTIVE or FAILED states.

int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The creationQuotaTokensCharged.

getDefaultInstanceForType()

public AudienceExport getDefaultInstanceForType()
Returns
TypeDescription
AudienceExport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensions(int index)

public AudienceDimension getDimensions(int index)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceDimension

getDimensionsBuilder(int index)

public AudienceDimension.Builder getDimensionsBuilder(int index)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceDimension.Builder

getDimensionsBuilderList()

public List<AudienceDimension.Builder> getDimensionsBuilderList()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getDimensionsCount()

public int getDimensionsCount()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDimensionsList()

public List<AudienceDimension> getDimensionsList()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<AudienceDimension>

getDimensionsOrBuilder(int index)

public AudienceDimensionOrBuilder getDimensionsOrBuilder(int index)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceDimensionOrBuilder

getDimensionsOrBuilderList()

public List<? extends AudienceDimensionOrBuilder> getDimensionsOrBuilderList()

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.AudienceDimensionOrBuilder>

getErrorMessage()

public String getErrorMessage()

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getName()

public String getName()

Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this AudienceExport.

Format: properties/{property}/audienceExports/{audience_export}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this AudienceExport.

Format: properties/{property}/audienceExports/{audience_export}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getPercentageCompleted()

public double getPercentageCompleted()

Output only. The percentage completed for this audience export ranging between 0 to 100.

optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
double

The percentageCompleted.

getRowCount()

public int getRowCount()

Output only. The total number of rows in the AudienceExport result.

optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The rowCount.

getState()

public AudienceExport.State getState()

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AudienceExport.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasBeginCreatingTime()

public boolean hasBeginCreatingTime()

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the beginCreatingTime field is set.

hasErrorMessage()

public boolean hasErrorMessage()

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the errorMessage field is set.

hasPercentageCompleted()

public boolean hasPercentageCompleted()

Output only. The percentage completed for this audience export ranging between 0 to 100.

optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the percentageCompleted field is set.

hasRowCount()

public boolean hasRowCount()

Output only. The total number of rows in the AudienceExport result.

optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the rowCount field is set.

hasState()

public boolean hasState()

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBeginCreatingTime(Timestamp value)

public AudienceExport.Builder mergeBeginCreatingTime(Timestamp value)

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AudienceExport.Builder

mergeFrom(AudienceExport other)

public AudienceExport.Builder mergeFrom(AudienceExport other)
Parameter
NameDescription
otherAudienceExport
Returns
TypeDescription
AudienceExport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceExport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudienceExport.Builder
Overrides

removeDimensions(int index)

public AudienceExport.Builder removeDimensions(int index)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceExport.Builder

setAudience(String value)

public AudienceExport.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/{property}/audiences/{audience}

string audience = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The audience to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setAudienceBytes(ByteString value)

public AudienceExport.Builder setAudienceBytes(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/{property}/audiences/{audience}

string audience = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for audience to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setAudienceDisplayName(String value)

public AudienceExport.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];

Parameter
NameDescription
valueString

The audienceDisplayName to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setAudienceDisplayNameBytes(ByteString value)

public AudienceExport.Builder setAudienceDisplayNameBytes(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];

Parameter
NameDescription
valueByteString

The bytes for audienceDisplayName to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setBeginCreatingTime(Timestamp value)

public AudienceExport.Builder setBeginCreatingTime(Timestamp value)

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AudienceExport.Builder

setBeginCreatingTime(Timestamp.Builder builderForValue)

public AudienceExport.Builder setBeginCreatingTime(Timestamp.Builder builderForValue)

Output only. The time when CreateAudienceExport was called and the AudienceExport began the CREATING state.

optional .google.protobuf.Timestamp begin_creating_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AudienceExport.Builder

setCreationQuotaTokensCharged(int value)

public AudienceExport.Builder setCreationQuotaTokensCharged(int value)

Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the CREATING state, this tokens charged will be fixed once an AudienceExport enters the ACTIVE or FAILED states.

int32 creation_quota_tokens_charged = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The creationQuotaTokensCharged to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setDimensions(int index, AudienceDimension value)

public AudienceExport.Builder setDimensions(int index, AudienceDimension value)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAudienceDimension
Returns
TypeDescription
AudienceExport.Builder

setDimensions(int index, AudienceDimension.Builder builderForValue)

public AudienceExport.Builder setDimensions(int index, AudienceDimension.Builder builderForValue)

Required. The dimensions requested and displayed in the query response.

repeated .google.analytics.data.v1beta.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAudienceDimension.Builder
Returns
TypeDescription
AudienceExport.Builder

setErrorMessage(String value)

public AudienceExport.Builder setErrorMessage(String value)

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The errorMessage to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public AudienceExport.Builder setErrorMessageBytes(ByteString value)

Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.

optional string error_message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for errorMessage to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AudienceExport.Builder setName(String value)

Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this AudienceExport.

Format: properties/{property}/audienceExports/{audience_export}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AudienceExport.Builder setNameBytes(ByteString value)

Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this AudienceExport.

Format: properties/{property}/audienceExports/{audience_export}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setPercentageCompleted(double value)

public AudienceExport.Builder setPercentageCompleted(double value)

Output only. The percentage completed for this audience export ranging between 0 to 100.

optional double percentage_completed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuedouble

The percentageCompleted to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

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

public AudienceExport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AudienceExport.Builder
Overrides

setRowCount(int value)

public AudienceExport.Builder setRowCount(int value)

Output only. The total number of rows in the AudienceExport result.

optional int32 row_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The rowCount to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setState(AudienceExport.State value)

public AudienceExport.Builder setState(AudienceExport.State value)

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAudienceExport.State

The state to set.

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setStateValue(int value)

public AudienceExport.Builder setStateValue(int value)

Output only. The current state for this AudienceExport.

optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
AudienceExport.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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