Class BatchRunPivotReportsResponse.Builder (0.57.0)

public static final class BatchRunPivotReportsResponse.Builder extends GeneratedMessageV3.Builder<BatchRunPivotReportsResponse.Builder> implements BatchRunPivotReportsResponseOrBuilder

The batch response containing multiple pivot reports.

Protobuf type google.analytics.data.v1beta.BatchRunPivotReportsResponse

Static Methods

getDescriptor()

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

Methods

addAllPivotReports(Iterable<? extends RunPivotReportResponse> values)

public BatchRunPivotReportsResponse.Builder addAllPivotReports(Iterable<? extends RunPivotReportResponse> values)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

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

addPivotReports(RunPivotReportResponse value)

public BatchRunPivotReportsResponse.Builder addPivotReports(RunPivotReportResponse value)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
value RunPivotReportResponse
Returns
Type Description
BatchRunPivotReportsResponse.Builder

addPivotReports(RunPivotReportResponse.Builder builderForValue)

public BatchRunPivotReportsResponse.Builder addPivotReports(RunPivotReportResponse.Builder builderForValue)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
builderForValue RunPivotReportResponse.Builder
Returns
Type Description
BatchRunPivotReportsResponse.Builder

addPivotReports(int index, RunPivotReportResponse value)

public BatchRunPivotReportsResponse.Builder addPivotReports(int index, RunPivotReportResponse value)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameters
Name Description
index int
value RunPivotReportResponse
Returns
Type Description
BatchRunPivotReportsResponse.Builder

addPivotReports(int index, RunPivotReportResponse.Builder builderForValue)

public BatchRunPivotReportsResponse.Builder addPivotReports(int index, RunPivotReportResponse.Builder builderForValue)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameters
Name Description
index int
builderForValue RunPivotReportResponse.Builder
Returns
Type Description
BatchRunPivotReportsResponse.Builder

addPivotReportsBuilder()

public RunPivotReportResponse.Builder addPivotReportsBuilder()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Returns
Type Description
RunPivotReportResponse.Builder

addPivotReportsBuilder(int index)

public RunPivotReportResponse.Builder addPivotReportsBuilder(int index)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunPivotReportResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchRunPivotReportsResponse build()
Returns
Type Description
BatchRunPivotReportsResponse

buildPartial()

public BatchRunPivotReportsResponse buildPartial()
Returns
Type Description
BatchRunPivotReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public BatchRunPivotReportsResponse.Builder clearKind()

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

string kind = 2;

Returns
Type Description
BatchRunPivotReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPivotReports()

public BatchRunPivotReportsResponse.Builder clearPivotReports()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Returns
Type Description
BatchRunPivotReportsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchRunPivotReportsResponse getDefaultInstanceForType()
Returns
Type Description
BatchRunPivotReportsResponse

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#batchRunPivotReports". 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#batchRunPivotReports". Useful to distinguish between response types in JSON.

string kind = 2;

Returns
Type Description
ByteString

The bytes for kind.

getPivotReports(int index)

public RunPivotReportResponse getPivotReports(int index)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunPivotReportResponse

getPivotReportsBuilder(int index)

public RunPivotReportResponse.Builder getPivotReportsBuilder(int index)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunPivotReportResponse.Builder

getPivotReportsBuilderList()

public List<RunPivotReportResponse.Builder> getPivotReportsBuilderList()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Returns
Type Description
List<Builder>

getPivotReportsCount()

public int getPivotReportsCount()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Returns
Type Description
int

getPivotReportsList()

public List<RunPivotReportResponse> getPivotReportsList()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Returns
Type Description
List<RunPivotReportResponse>

getPivotReportsOrBuilder(int index)

public RunPivotReportResponseOrBuilder getPivotReportsOrBuilder(int index)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
RunPivotReportResponseOrBuilder

getPivotReportsOrBuilderList()

public List<? extends RunPivotReportResponseOrBuilder> getPivotReportsOrBuilderList()

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunPivotReportsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePivotReports(int index)

public BatchRunPivotReportsResponse.Builder removePivotReports(int index)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchRunPivotReportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKind(String value)

public BatchRunPivotReportsResponse.Builder setKind(String value)

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

string kind = 2;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
BatchRunPivotReportsResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public BatchRunPivotReportsResponse.Builder setKindBytes(ByteString value)

Identifies what kind of resource this message is. This kind is always the fixed string "analyticsData#batchRunPivotReports". 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
BatchRunPivotReportsResponse.Builder

This builder for chaining.

setPivotReports(int index, RunPivotReportResponse value)

public BatchRunPivotReportsResponse.Builder setPivotReports(int index, RunPivotReportResponse value)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameters
Name Description
index int
value RunPivotReportResponse
Returns
Type Description
BatchRunPivotReportsResponse.Builder

setPivotReports(int index, RunPivotReportResponse.Builder builderForValue)

public BatchRunPivotReportsResponse.Builder setPivotReports(int index, RunPivotReportResponse.Builder builderForValue)

Individual responses. Each response has a separate pivot report request.

repeated .google.analytics.data.v1beta.RunPivotReportResponse pivot_reports = 1;

Parameters
Name Description
index int
builderForValue RunPivotReportResponse.Builder
Returns
Type Description
BatchRunPivotReportsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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