Class BatchRunPivotReportsResponse.Builder

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

public static final class BatchRunPivotReportsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchRunPivotReportsResponse.Builder> implements BatchRunPivotReportsResponseOrBuilder
 The batch response containing multiple pivot reports.
 
Protobuf type google.analytics.data.v1beta.BatchRunPivotReportsResponse
  • 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<BatchRunPivotReportsResponse.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<BatchRunPivotReportsResponse.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<BatchRunPivotReportsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public BatchRunPivotReportsResponse.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<BatchRunPivotReportsResponse.Builder>
      Throws:
      IOException
    • getPivotReportsList

      public List<RunPivotReportResponse> getPivotReportsList()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
      Specified by:
      getPivotReportsList in interface BatchRunPivotReportsResponseOrBuilder
    • getPivotReportsCount

      public int getPivotReportsCount()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
      Specified by:
      getPivotReportsCount in interface BatchRunPivotReportsResponseOrBuilder
    • getPivotReports

      public RunPivotReportResponse getPivotReports(int index)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
      Specified by:
      getPivotReports in interface BatchRunPivotReportsResponseOrBuilder
    • setPivotReports

      public BatchRunPivotReportsResponse.Builder setPivotReports(int index, RunPivotReportResponse value)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • setPivotReports

      public BatchRunPivotReportsResponse.Builder setPivotReports(int index, RunPivotReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addPivotReports

       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addPivotReports

      public BatchRunPivotReportsResponse.Builder addPivotReports(int index, RunPivotReportResponse value)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addPivotReports

      public BatchRunPivotReportsResponse.Builder addPivotReports(RunPivotReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addPivotReports

      public BatchRunPivotReportsResponse.Builder addPivotReports(int index, RunPivotReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addAllPivotReports

      public BatchRunPivotReportsResponse.Builder addAllPivotReports(Iterable<? extends RunPivotReportResponse> values)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • clearPivotReports

      public BatchRunPivotReportsResponse.Builder clearPivotReports()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • removePivotReports

      public BatchRunPivotReportsResponse.Builder removePivotReports(int index)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • getPivotReportsBuilder

      public RunPivotReportResponse.Builder getPivotReportsBuilder(int index)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • getPivotReportsOrBuilder

      public RunPivotReportResponseOrBuilder getPivotReportsOrBuilder(int index)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
      Specified by:
      getPivotReportsOrBuilder in interface BatchRunPivotReportsResponseOrBuilder
    • getPivotReportsOrBuilderList

      public List<? extends RunPivotReportResponseOrBuilder> getPivotReportsOrBuilderList()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
      Specified by:
      getPivotReportsOrBuilderList in interface BatchRunPivotReportsResponseOrBuilder
    • addPivotReportsBuilder

      public RunPivotReportResponse.Builder addPivotReportsBuilder()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • addPivotReportsBuilder

      public RunPivotReportResponse.Builder addPivotReportsBuilder(int index)
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • getPivotReportsBuilderList

      public List<RunPivotReportResponse.Builder> getPivotReportsBuilderList()
       Individual responses. Each response has a separate pivot report request.
       
      repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;
    • getKind

      public String getKind()
       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
       between response types in JSON.
       
      string kind = 2;
      Specified by:
      getKind in interface BatchRunPivotReportsResponseOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
       between response types in JSON.
       
      string kind = 2;
      Specified by:
      getKindBytes in interface BatchRunPivotReportsResponseOrBuilder
      Returns:
      The bytes for kind.
    • setKind

       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
       between response types in JSON.
       
      string kind = 2;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
       between response types in JSON.
       
      string kind = 2;
      Returns:
      This builder for chaining.
    • setKindBytes

      public BatchRunPivotReportsResponse.Builder setKindBytes(com.google.protobuf.ByteString value)
       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunPivotReports". Useful to distinguish
       between response types in JSON.
       
      string kind = 2;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.