Class BatchRunReportsRequest.Builder (0.60.0)

public static final class BatchRunReportsRequest.Builder extends GeneratedMessageV3.Builder<BatchRunReportsRequest.Builder> implements BatchRunReportsRequestOrBuilder

The batch request containing multiple report requests.

Protobuf type google.analytics.data.v1beta.BatchRunReportsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRequests(Iterable<? extends RunReportRequest> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1beta.RunReportRequest>
Returns
Type Description
BatchRunReportsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunReportsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

addRequests(RunReportRequest value)

public BatchRunReportsRequest.Builder addRequests(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;

Parameter
Name Description
value RunReportRequest
Returns
Type Description
BatchRunReportsRequest.Builder

addRequests(RunReportRequest.Builder builderForValue)

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;

Parameter
Name Description
builderForValue RunReportRequest.Builder
Returns
Type Description
BatchRunReportsRequest.Builder

addRequests(int index, RunReportRequest value)

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;

Parameters
Name Description
index int
value RunReportRequest
Returns
Type Description
BatchRunReportsRequest.Builder

addRequests(int index, RunReportRequest.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue RunReportRequest.Builder
Returns
Type Description
BatchRunReportsRequest.Builder

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;

Returns
Type Description
RunReportRequest.Builder

addRequestsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
RunReportRequest.Builder

build()

public BatchRunReportsRequest build()
Returns
Type Description
BatchRunReportsRequest

buildPartial()

public BatchRunReportsRequest buildPartial()
Returns
Type Description
BatchRunReportsRequest

clear()

public BatchRunReportsRequest.Builder clear()
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchRunReportsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunReportsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

clearProperty()

public BatchRunReportsRequest.Builder clearProperty()

A Google Analytics GA4 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. 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
Type Description
BatchRunReportsRequest.Builder

This builder for chaining.

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;

Returns
Type Description
BatchRunReportsRequest.Builder

clone()

public BatchRunReportsRequest.Builder clone()
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchRunReportsRequest getDefaultInstanceForType()
Returns
Type Description
BatchRunReportsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProperty()

public String getProperty()

A Google Analytics GA4 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. 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
Type Description
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

A Google Analytics GA4 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. 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
Type Description
ByteString

The bytes for property.

getRequests(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
RunReportRequest

getRequestsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
RunReportRequest.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<RunReportRequest>

getRequestsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
RunReportRequestOrBuilder

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;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.RunReportRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunReportsRequest other)

public BatchRunReportsRequest.Builder mergeFrom(BatchRunReportsRequest other)
Parameter
Name Description
other BatchRunReportsRequest
Returns
Type Description
BatchRunReportsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchRunReportsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchRunReportsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunReportsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

removeRequests(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
BatchRunReportsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunReportsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

setProperty(String value)

public BatchRunReportsRequest.Builder setProperty(String value)

A Google Analytics GA4 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. 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;

Parameter
Name Description
value String

The property to set.

Returns
Type Description
BatchRunReportsRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public BatchRunReportsRequest.Builder setPropertyBytes(ByteString value)

A Google Analytics GA4 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. 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;

Parameter
Name Description
value ByteString

The bytes for property to set.

Returns
Type Description
BatchRunReportsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchRunReportsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides

setRequests(int index, RunReportRequest value)

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;

Parameters
Name Description
index int
value RunReportRequest
Returns
Type Description
BatchRunReportsRequest.Builder

setRequests(int index, RunReportRequest.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue RunReportRequest.Builder
Returns
Type Description
BatchRunReportsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunReportsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunReportsRequest.Builder
Overrides