Class BatchRunReportsRequest.Builder (0.23.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.RunReportRequest>
Returns
TypeDescription
BatchRunReportsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunReportsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRunReportRequest
Returns
TypeDescription
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
NameDescription
builderForValueRunReportRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRunReportRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunReportRequest.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RunReportRequest.Builder

build()

public BatchRunReportsRequest build()
Returns
TypeDescription
BatchRunReportsRequest

buildPartial()

public BatchRunReportsRequest buildPartial()
Returns
TypeDescription
BatchRunReportsRequest

clear()

public BatchRunReportsRequest.Builder clear()
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchRunReportsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunReportsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchRunReportsRequest.Builder

clone()

public BatchRunReportsRequest.Builder clone()
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchRunReportsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchRunReportsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1beta.RunReportRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchRunReportsRequest other)

public BatchRunReportsRequest.Builder mergeFrom(BatchRunReportsRequest other)
Parameter
NameDescription
otherBatchRunReportsRequest
Returns
TypeDescription
BatchRunReportsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchRunReportsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchRunReportsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunReportsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchRunReportsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunReportsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The property to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRunReportRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunReportRequest.Builder
Returns
TypeDescription
BatchRunReportsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunReportsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides