Class BatchRunReportsRequest.Builder

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

public static final class BatchRunReportsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchRunReportsRequest.Builder> implements BatchRunReportsRequestOrBuilder
 The batch request containing multiple report requests.
 
Protobuf type google.analytics.data.v1beta.BatchRunReportsRequest
  • 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<BatchRunReportsRequest.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<BatchRunReportsRequest.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<BatchRunReportsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BatchRunReportsRequest.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<BatchRunReportsRequest.Builder>
      Throws:
      IOException
    • getProperty

      public String getProperty()
       A Google Analytics property identifier whose events are tracked.
       Specified in the URL path and not the body. To learn more, see [where to
       find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       This property must be specified for the batch. The property within
       RunReportRequest may either be unspecified or consistent with this
       property.
      
       Example: properties/1234
       
      string property = 1;
      Specified by:
      getProperty in interface BatchRunReportsRequestOrBuilder
      Returns:
      The property.
    • getPropertyBytes

      public com.google.protobuf.ByteString getPropertyBytes()
       A Google Analytics property identifier whose events are tracked.
       Specified in the URL path and not the body. To learn more, see [where to
       find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       This property must be specified for the batch. The property within
       RunReportRequest may either be unspecified or consistent with this
       property.
      
       Example: properties/1234
       
      string property = 1;
      Specified by:
      getPropertyBytes in interface BatchRunReportsRequestOrBuilder
      Returns:
      The bytes for property.
    • setProperty

      public BatchRunReportsRequest.Builder setProperty(String value)
       A Google Analytics property identifier whose events are tracked.
       Specified in the URL path and not the body. To learn more, see [where to
       find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       This property must be specified for the batch. The property within
       RunReportRequest may either be unspecified or consistent with this
       property.
      
       Example: properties/1234
       
      string property = 1;
      Parameters:
      value - The property to set.
      Returns:
      This builder for chaining.
    • clearProperty

      public BatchRunReportsRequest.Builder clearProperty()
       A Google Analytics property identifier whose events are tracked.
       Specified in the URL path and not the body. To learn more, see [where to
       find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       This property must be specified for the batch. The property within
       RunReportRequest may either be unspecified or consistent with this
       property.
      
       Example: properties/1234
       
      string property = 1;
      Returns:
      This builder for chaining.
    • setPropertyBytes

      public BatchRunReportsRequest.Builder setPropertyBytes(com.google.protobuf.ByteString value)
       A Google Analytics property identifier whose events are tracked.
       Specified in the URL path and not the body. To learn more, see [where to
       find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       This property must be specified for the batch. The property within
       RunReportRequest may either be unspecified or consistent with this
       property.
      
       Example: properties/1234
       
      string property = 1;
      Parameters:
      value - The bytes for property to set.
      Returns:
      This builder for chaining.
    • getRequestsList

      public List<RunReportRequest> getRequestsList()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      Specified by:
      getRequestsList in interface BatchRunReportsRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      Specified by:
      getRequestsCount in interface BatchRunReportsRequestOrBuilder
    • getRequests

      public RunReportRequest getRequests(int index)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      Specified by:
      getRequests in interface BatchRunReportsRequestOrBuilder
    • setRequests

      public BatchRunReportsRequest.Builder setRequests(int index, RunReportRequest value)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • setRequests

      public BatchRunReportsRequest.Builder setRequests(int index, RunReportRequest.Builder builderForValue)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addRequests

       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addRequests

      public BatchRunReportsRequest.Builder addRequests(int index, RunReportRequest value)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addRequests

      public BatchRunReportsRequest.Builder addRequests(RunReportRequest.Builder builderForValue)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addRequests

      public BatchRunReportsRequest.Builder addRequests(int index, RunReportRequest.Builder builderForValue)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addAllRequests

      public BatchRunReportsRequest.Builder addAllRequests(Iterable<? extends RunReportRequest> values)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • clearRequests

      public BatchRunReportsRequest.Builder clearRequests()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • removeRequests

      public BatchRunReportsRequest.Builder removeRequests(int index)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • getRequestsBuilder

      public RunReportRequest.Builder getRequestsBuilder(int index)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • getRequestsOrBuilder

      public RunReportRequestOrBuilder getRequestsOrBuilder(int index)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      Specified by:
      getRequestsOrBuilder in interface BatchRunReportsRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends RunReportRequestOrBuilder> getRequestsOrBuilderList()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
      Specified by:
      getRequestsOrBuilderList in interface BatchRunReportsRequestOrBuilder
    • addRequestsBuilder

      public RunReportRequest.Builder addRequestsBuilder()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • addRequestsBuilder

      public RunReportRequest.Builder addRequestsBuilder(int index)
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;
    • getRequestsBuilderList

      public List<RunReportRequest.Builder> getRequestsBuilderList()
       Individual requests. Each request has a separate report response. Each
       batch request is allowed up to 5 requests.
       
      repeated .google.analytics.data.v1beta.RunReportRequest requests = 2;