Class BatchRunPivotReportsRequest.Builder (0.15.0)

public static final class BatchRunPivotReportsRequest.Builder extends GeneratedMessageV3.Builder<BatchRunPivotReportsRequest.Builder> implements BatchRunPivotReportsRequestOrBuilder

The batch request containing multiple pivot report requests.

Protobuf type google.analytics.data.v1beta.BatchRunPivotReportsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRequests(Iterable<? extends RunPivotReportRequest> values)

public BatchRunPivotReportsRequest.Builder addAllRequests(Iterable<? extends RunPivotReportRequest> values)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.RunPivotReportRequest>
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunPivotReportsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder
Overrides

addRequests(RunPivotReportRequest value)

public BatchRunPivotReportsRequest.Builder addRequests(RunPivotReportRequest value)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
valueRunPivotReportRequest
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

addRequests(RunPivotReportRequest.Builder builderForValue)

public BatchRunPivotReportsRequest.Builder addRequests(RunPivotReportRequest.Builder builderForValue)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
builderForValueRunPivotReportRequest.Builder
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

addRequests(int index, RunPivotReportRequest value)

public BatchRunPivotReportsRequest.Builder addRequests(int index, RunPivotReportRequest value)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameters
NameDescription
indexint
valueRunPivotReportRequest
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

addRequests(int index, RunPivotReportRequest.Builder builderForValue)

public BatchRunPivotReportsRequest.Builder addRequests(int index, RunPivotReportRequest.Builder builderForValue)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameters
NameDescription
indexint
builderForValueRunPivotReportRequest.Builder
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

addRequestsBuilder()

public RunPivotReportRequest.Builder addRequestsBuilder()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
RunPivotReportRequest.Builder

addRequestsBuilder(int index)

public RunPivotReportRequest.Builder addRequestsBuilder(int index)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

build()

public BatchRunPivotReportsRequest build()
Returns
TypeDescription
BatchRunPivotReportsRequest

buildPartial()

public BatchRunPivotReportsRequest buildPartial()
Returns
TypeDescription
BatchRunPivotReportsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunPivotReportsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder
Overrides

clearProperty()

public BatchRunPivotReportsRequest.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 RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

string property = 1;

Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

This builder for chaining.

clearRequests()

public BatchRunPivotReportsRequest.Builder clearRequests()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchRunPivotReportsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchRunPivotReportsRequest

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 RunPivotReportRequest 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 RunPivotReportRequest 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 RunPivotReportRequest getRequests(int index)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest

getRequestsBuilder(int index)

public RunPivotReportRequest.Builder getRequestsBuilder(int index)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequest.Builder

getRequestsBuilderList()

public List<RunPivotReportRequest.Builder> getRequestsBuilderList()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
int

getRequestsList()

public List<RunPivotReportRequest> getRequestsList()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
List<RunPivotReportRequest>

getRequestsOrBuilder(int index)

public RunPivotReportRequestOrBuilder getRequestsOrBuilder(int index)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunPivotReportRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends RunPivotReportRequestOrBuilder> getRequestsOrBuilderList()

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1beta.RunPivotReportRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchRunPivotReportsRequest other)

public BatchRunPivotReportsRequest.Builder mergeFrom(BatchRunPivotReportsRequest other)
Parameter
NameDescription
otherBatchRunPivotReportsRequest
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunPivotReportsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder
Overrides

removeRequests(int index)

public BatchRunPivotReportsRequest.Builder removeRequests(int index)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunPivotReportsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder
Overrides

setProperty(String value)

public BatchRunPivotReportsRequest.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 RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

string property = 1;

Parameter
NameDescription
valueString

The property to set.

Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public BatchRunPivotReportsRequest.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 RunPivotReportRequest 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
BatchRunPivotReportsRequest.Builder

This builder for chaining.

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

public BatchRunPivotReportsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder
Overrides

setRequests(int index, RunPivotReportRequest value)

public BatchRunPivotReportsRequest.Builder setRequests(int index, RunPivotReportRequest value)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameters
NameDescription
indexint
valueRunPivotReportRequest
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

setRequests(int index, RunPivotReportRequest.Builder builderForValue)

public BatchRunPivotReportsRequest.Builder setRequests(int index, RunPivotReportRequest.Builder builderForValue)

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

repeated .google.analytics.data.v1beta.RunPivotReportRequest requests = 2;

Parameters
NameDescription
indexint
builderForValueRunPivotReportRequest.Builder
Returns
TypeDescription
BatchRunPivotReportsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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