Class AudienceExport.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AudienceExport.Builder>
com.google.analytics.data.v1beta.AudienceExport.Builder
All Implemented Interfaces:
AudienceExportOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AudienceExport

public static final class AudienceExport.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AudienceExport.Builder>
    • clear

      public AudienceExport.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AudienceExport.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AudienceExport.Builder>
    • getDefaultInstanceForType

      public AudienceExport getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AudienceExport build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AudienceExport buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AudienceExport.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudienceExport.Builder>
    • mergeFrom

      public AudienceExport.Builder mergeFrom(AudienceExport other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AudienceExport.Builder>
    • mergeFrom

      public AudienceExport.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudienceExport.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface AudienceExportOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface AudienceExportOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setNameBytes

      public AudienceExport.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getAudience in interface AudienceExportOrBuilder
      Returns:
      The audience.
    • getAudienceBytes

      public 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/{property}/audiences/{audience}`
       
      string audience = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceBytes in interface AudienceExportOrBuilder
      Returns:
      The bytes for audience.
    • setAudience

      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];
      Parameters:
      value - The audience to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setAudienceBytes

      public AudienceExport.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/{property}/audiences/{audience}`
       
      string audience = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for audience to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getAudienceDisplayName in interface AudienceExportOrBuilder
      Returns:
      The audienceDisplayName.
    • getAudienceDisplayNameBytes

      public 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];
      Specified by:
      getAudienceDisplayNameBytes in interface AudienceExportOrBuilder
      Returns:
      The bytes for audienceDisplayName.
    • setAudienceDisplayName

      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];
      Parameters:
      value - The audienceDisplayName to set.
      Returns:
      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:
      This builder for chaining.
    • setAudienceDisplayNameBytes

      public AudienceExport.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];
      Parameters:
      value - The bytes for audienceDisplayName to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getDimensionsList in interface AudienceExportOrBuilder
    • 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];
      Specified by:
      getDimensionsCount in interface AudienceExportOrBuilder
    • getDimensions

      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];
      Specified by:
      getDimensions in interface AudienceExportOrBuilder
    • setDimensions

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

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

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

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

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

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

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

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

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

      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];
      Specified by:
      getDimensionsOrBuilder in interface AudienceExportOrBuilder
    • 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];
      Specified by:
      getDimensionsOrBuilderList in interface AudienceExportOrBuilder
    • 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];
    • addDimensionsBuilder

      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];
    • 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];
    • 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];
      Specified by:
      hasState in interface AudienceExportOrBuilder
      Returns:
      Whether the state field is set.
    • 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];
      Specified by:
      getStateValue in interface AudienceExportOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface AudienceExportOrBuilder
      Returns:
      The state.
    • setState

       Output only. The current state for this AudienceExport.
       
      optional .google.analytics.data.v1beta.AudienceExport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasBeginCreatingTime in interface AudienceExportOrBuilder
      Returns:
      Whether the beginCreatingTime field is set.
    • getBeginCreatingTime

      public com.google.protobuf.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];
      Specified by:
      getBeginCreatingTime in interface AudienceExportOrBuilder
      Returns:
      The beginCreatingTime.
    • setBeginCreatingTime

      public AudienceExport.Builder setBeginCreatingTime(com.google.protobuf.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];
    • setBeginCreatingTime

      public AudienceExport.Builder setBeginCreatingTime(com.google.protobuf.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];
    • mergeBeginCreatingTime

      public AudienceExport.Builder mergeBeginCreatingTime(com.google.protobuf.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];
    • 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];
    • getBeginCreatingTimeBuilder

      public com.google.protobuf.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];
    • getBeginCreatingTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getBeginCreatingTimeOrBuilder in interface AudienceExportOrBuilder
    • 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];
      Specified by:
      getCreationQuotaTokensCharged in interface AudienceExportOrBuilder
      Returns:
      The creationQuotaTokensCharged.
    • setCreationQuotaTokensCharged

      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];
      Parameters:
      value - The creationQuotaTokensCharged to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      hasRowCount in interface AudienceExportOrBuilder
      Returns:
      Whether the rowCount field is set.
    • 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];
      Specified by:
      getRowCount in interface AudienceExportOrBuilder
      Returns:
      The rowCount.
    • setRowCount

      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];
      Parameters:
      value - The rowCount to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      hasErrorMessage in interface AudienceExportOrBuilder
      Returns:
      Whether the errorMessage field is set.
    • 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];
      Specified by:
      getErrorMessage in interface AudienceExportOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.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];
      Specified by:
      getErrorMessageBytes in interface AudienceExportOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      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];
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setErrorMessageBytes

      public AudienceExport.Builder setErrorMessageBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasPercentageCompleted in interface AudienceExportOrBuilder
      Returns:
      Whether the percentageCompleted field is set.
    • 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];
      Specified by:
      getPercentageCompleted in interface AudienceExportOrBuilder
      Returns:
      The percentageCompleted.
    • setPercentageCompleted

      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];
      Parameters:
      value - The percentageCompleted to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.