Class BatchRunReportsRequest (0.42.0)

public final class BatchRunReportsRequest extends GeneratedMessageV3 implements BatchRunReportsRequestOrBuilder

The batch request containing multiple report requests.

Protobuf type google.analytics.data.v1beta.BatchRunReportsRequest

Static Fields

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchRunReportsRequest getDefaultInstance()
Returns
TypeDescription
BatchRunReportsRequest

getDescriptor()

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

newBuilder()

public static BatchRunReportsRequest.Builder newBuilder()
Returns
TypeDescription
BatchRunReportsRequest.Builder

newBuilder(BatchRunReportsRequest prototype)

public static BatchRunReportsRequest.Builder newBuilder(BatchRunReportsRequest prototype)
Parameter
NameDescription
prototypeBatchRunReportsRequest
Returns
TypeDescription
BatchRunReportsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchRunReportsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchRunReportsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchRunReportsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchRunReportsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchRunReportsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchRunReportsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchRunReportsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchRunReportsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchRunReportsRequest> parser()
Returns
TypeDescription
Parser<BatchRunReportsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchRunReportsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchRunReportsRequest

getParserForType()

public Parser<BatchRunReportsRequest> getParserForType()
Returns
TypeDescription
Parser<BatchRunReportsRequest>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchRunReportsRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchRunReportsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchRunReportsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchRunReportsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchRunReportsRequest.Builder toBuilder()
Returns
TypeDescription
BatchRunReportsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException