Class BatchRunReportsResponse.Builder

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

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

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

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

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

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

      public BatchRunReportsResponse.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<BatchRunReportsResponse.Builder>
      Throws:
      IOException
    • getReportsList

      public List<RunReportResponse> getReportsList()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
      Specified by:
      getReportsList in interface BatchRunReportsResponseOrBuilder
    • getReportsCount

      public int getReportsCount()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
      Specified by:
      getReportsCount in interface BatchRunReportsResponseOrBuilder
    • getReports

      public RunReportResponse getReports(int index)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
      Specified by:
      getReports in interface BatchRunReportsResponseOrBuilder
    • setReports

      public BatchRunReportsResponse.Builder setReports(int index, RunReportResponse value)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • setReports

      public BatchRunReportsResponse.Builder setReports(int index, RunReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addReports

       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addReports

      public BatchRunReportsResponse.Builder addReports(int index, RunReportResponse value)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addReports

      public BatchRunReportsResponse.Builder addReports(RunReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addReports

      public BatchRunReportsResponse.Builder addReports(int index, RunReportResponse.Builder builderForValue)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addAllReports

      public BatchRunReportsResponse.Builder addAllReports(Iterable<? extends RunReportResponse> values)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • clearReports

      public BatchRunReportsResponse.Builder clearReports()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • removeReports

      public BatchRunReportsResponse.Builder removeReports(int index)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • getReportsBuilder

      public RunReportResponse.Builder getReportsBuilder(int index)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • getReportsOrBuilder

      public RunReportResponseOrBuilder getReportsOrBuilder(int index)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
      Specified by:
      getReportsOrBuilder in interface BatchRunReportsResponseOrBuilder
    • getReportsOrBuilderList

      public List<? extends RunReportResponseOrBuilder> getReportsOrBuilderList()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
      Specified by:
      getReportsOrBuilderList in interface BatchRunReportsResponseOrBuilder
    • addReportsBuilder

      public RunReportResponse.Builder addReportsBuilder()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • addReportsBuilder

      public RunReportResponse.Builder addReportsBuilder(int index)
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • getReportsBuilderList

      public List<RunReportResponse.Builder> getReportsBuilderList()
       Individual responses. Each response has a separate report request.
       
      repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;
    • getKind

      public String getKind()
       Identifies what kind of resource this message is. This `kind` is always the
       fixed string "analyticsData#batchRunReports". Useful to distinguish between
       response types in JSON.
       
      string kind = 2;
      Specified by:
      getKind in interface BatchRunReportsResponseOrBuilder
      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#batchRunReports". Useful to distinguish between
       response types in JSON.
       
      string kind = 2;
      Specified by:
      getKindBytes in interface BatchRunReportsResponseOrBuilder
      Returns:
      The bytes for kind.
    • setKind

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

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

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