Class BatchRunPivotReportsResponse.Builder (0.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.RunPivotReportResponse>
Returns
TypeDescription
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
NameDescription
valueRunPivotReportResponse
Returns
TypeDescription
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
NameDescription
builderForValueRunPivotReportResponse.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRunPivotReportResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunPivotReportResponse.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RunPivotReportResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchRunPivotReportsResponse build()
Returns
TypeDescription
BatchRunPivotReportsResponse

buildPartial()

public BatchRunPivotReportsResponse buildPartial()
Returns
TypeDescription
BatchRunPivotReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchRunPivotReportsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchRunPivotReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchRunPivotReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchRunPivotReportsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchRunPivotReportsResponse other)

public BatchRunPivotReportsResponse.Builder mergeFrom(BatchRunPivotReportsResponse other)
Parameter
NameDescription
otherBatchRunPivotReportsResponse
Returns
TypeDescription
BatchRunPivotReportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The kind to set.

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

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRunPivotReportResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunPivotReportResponse.Builder
Returns
TypeDescription
BatchRunPivotReportsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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