Class ReportTask.Builder

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

public static final class ReportTask.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportTask.Builder> implements ReportTaskOrBuilder
 A specific report task configuration.
 
Protobuf type google.analytics.data.v1alpha.ReportTask
  • 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<ReportTask.Builder>
    • clear

      public ReportTask.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<ReportTask.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<ReportTask.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReportTask.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<ReportTask.Builder>
    • mergeFrom

      public ReportTask.Builder mergeFrom(ReportTask other)
    • isInitialized

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

      public ReportTask.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<ReportTask.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Output only. Identifier. The report task resource name assigned during
       creation. Format: "properties/{property}/reportTasks/{report_task}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface ReportTaskOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. The report task resource name assigned during
       creation. Format: "properties/{property}/reportTasks/{report_task}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface ReportTaskOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ReportTask.Builder setName(String value)
       Output only. Identifier. The report task resource name assigned during
       creation. Format: "properties/{property}/reportTasks/{report_task}"
       
      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 ReportTask.Builder clearName()
       Output only. Identifier. The report task resource name assigned during
       creation. Format: "properties/{property}/reportTasks/{report_task}"
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ReportTask.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Identifier. The report task resource name assigned during
       creation. Format: "properties/{property}/reportTasks/{report_task}"
       
      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.
    • hasReportDefinition

      public boolean hasReportDefinition()
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasReportDefinition in interface ReportTaskOrBuilder
      Returns:
      Whether the reportDefinition field is set.
    • getReportDefinition

      public ReportTask.ReportDefinition getReportDefinition()
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReportDefinition in interface ReportTaskOrBuilder
      Returns:
      The reportDefinition.
    • setReportDefinition

      public ReportTask.Builder setReportDefinition(ReportTask.ReportDefinition value)
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setReportDefinition

      public ReportTask.Builder setReportDefinition(ReportTask.ReportDefinition.Builder builderForValue)
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeReportDefinition

      public ReportTask.Builder mergeReportDefinition(ReportTask.ReportDefinition value)
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearReportDefinition

      public ReportTask.Builder clearReportDefinition()
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReportDefinitionBuilder

      public ReportTask.ReportDefinition.Builder getReportDefinitionBuilder()
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getReportDefinitionOrBuilder

      public ReportTask.ReportDefinitionOrBuilder getReportDefinitionOrBuilder()
       Optional. A report definition to fetch report data, which describes the
       structure of a report. It typically includes the fields that will be
       included in the report and the criteria that will be used to filter the
       data.
       
      .google.analytics.data.v1alpha.ReportTask.ReportDefinition report_definition = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReportDefinitionOrBuilder in interface ReportTaskOrBuilder
    • hasReportMetadata

      public boolean hasReportMetadata()
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasReportMetadata in interface ReportTaskOrBuilder
      Returns:
      Whether the reportMetadata field is set.
    • getReportMetadata

      public ReportTask.ReportMetadata getReportMetadata()
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReportMetadata in interface ReportTaskOrBuilder
      Returns:
      The reportMetadata.
    • setReportMetadata

      public ReportTask.Builder setReportMetadata(ReportTask.ReportMetadata value)
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setReportMetadata

      public ReportTask.Builder setReportMetadata(ReportTask.ReportMetadata.Builder builderForValue)
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeReportMetadata

      public ReportTask.Builder mergeReportMetadata(ReportTask.ReportMetadata value)
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearReportMetadata

      public ReportTask.Builder clearReportMetadata()
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReportMetadataBuilder

      public ReportTask.ReportMetadata.Builder getReportMetadataBuilder()
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReportMetadataOrBuilder

      public ReportTask.ReportMetadataOrBuilder getReportMetadataOrBuilder()
       Output only. The report metadata for a specific report task, which provides
       information about a report.  It typically includes the following
       information: the resource name of the report, the state of the report, the
       timestamp the report was created, etc,
       
      .google.analytics.data.v1alpha.ReportTask.ReportMetadata report_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReportMetadataOrBuilder in interface ReportTaskOrBuilder