Class BatchRunReportsResponse.Builder (0.55.0)

public static final class BatchRunReportsResponse.Builder extends GeneratedMessageV3.Builder<BatchRunReportsResponse.Builder> implements BatchRunReportsResponseOrBuilder

The batch response containing multiple reports.

Protobuf type google.analytics.data.v1beta.BatchRunReportsResponse

Static Methods

getDescriptor()

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

Methods

addAllReports(Iterable<? extends RunReportResponse> values)

public BatchRunReportsResponse.Builder addAllReports(Iterable<? extends RunReportResponse> values)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReports(RunReportResponse value)

public BatchRunReportsResponse.Builder addReports(RunReportResponse value)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
value RunReportResponse
Returns
Type Description
BatchRunReportsResponse.Builder

addReports(RunReportResponse.Builder builderForValue)

public BatchRunReportsResponse.Builder addReports(RunReportResponse.Builder builderForValue)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
builderForValue RunReportResponse.Builder
Returns
Type Description
BatchRunReportsResponse.Builder

addReports(int index, RunReportResponse value)

public BatchRunReportsResponse.Builder addReports(int index, RunReportResponse value)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameters
Name Description
index int
value RunReportResponse
Returns
Type Description
BatchRunReportsResponse.Builder

addReports(int index, RunReportResponse.Builder builderForValue)

public BatchRunReportsResponse.Builder addReports(int index, RunReportResponse.Builder builderForValue)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameters
Name Description
index int
builderForValue RunReportResponse.Builder
Returns
Type Description
BatchRunReportsResponse.Builder

addReportsBuilder()

public RunReportResponse.Builder addReportsBuilder()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Returns
Type Description
RunReportResponse.Builder

addReportsBuilder(int index)

public RunReportResponse.Builder addReportsBuilder(int index)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

build()

public BatchRunReportsResponse build()
Returns
Type Description
BatchRunReportsResponse

buildPartial()

public BatchRunReportsResponse buildPartial()
Returns
Type Description
BatchRunReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public BatchRunReportsResponse.Builder clearKind()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

string kind = 2;

Returns
Type Description
BatchRunReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReports()

public BatchRunReportsResponse.Builder clearReports()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Returns
Type Description
BatchRunReportsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchRunReportsResponse getDefaultInstanceForType()
Returns
Type Description
BatchRunReportsResponse

getDescriptorForType()

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

getKind()

public String getKind()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

string kind = 2;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

string kind = 2;

Returns
Type Description
ByteString

The bytes for kind.

getReports(int index)

public RunReportResponse getReports(int index)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse

getReportsBuilder(int index)

public RunReportResponse.Builder getReportsBuilder(int index)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponse.Builder

getReportsBuilderList()

public List<RunReportResponse.Builder> getReportsBuilderList()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Returns
Type Description
List<Builder>

getReportsCount()

public int getReportsCount()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Returns
Type Description
int

getReportsList()

public List<RunReportResponse> getReportsList()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Returns
Type Description
List<RunReportResponse>

getReportsOrBuilder(int index)

public RunReportResponseOrBuilder getReportsOrBuilder(int index)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunReportResponseOrBuilder

getReportsOrBuilderList()

public List<? extends RunReportResponseOrBuilder> getReportsOrBuilderList()

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunReportsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReports(int index)

public BatchRunReportsResponse.Builder removeReports(int index)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchRunReportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public BatchRunReportsResponse.Builder setKind(String value)

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

string kind = 2;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
BatchRunReportsResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public BatchRunReportsResponse.Builder setKindBytes(ByteString value)

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunReports". Useful to distinguish between response types in JSON.

string kind = 2;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
BatchRunReportsResponse.Builder

This builder for chaining.

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

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

setReports(int index, RunReportResponse value)

public BatchRunReportsResponse.Builder setReports(int index, RunReportResponse value)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameters
Name Description
index int
value RunReportResponse
Returns
Type Description
BatchRunReportsResponse.Builder

setReports(int index, RunReportResponse.Builder builderForValue)

public BatchRunReportsResponse.Builder setReports(int index, RunReportResponse.Builder builderForValue)

Individual responses. Each response has a separate report request.

repeated .google.analytics.data.v1beta.RunReportResponse reports = 1;

Parameters
Name Description
index int
builderForValue RunReportResponse.Builder
Returns
Type Description
BatchRunReportsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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