Class BatchRunReportsResponse.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.RunReportResponse>
Returns
TypeDescription
BatchRunReportsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRunReportResponse
Returns
TypeDescription
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
NameDescription
builderForValueRunReportResponse.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRunReportResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunReportResponse.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RunReportResponse.Builder

build()

public BatchRunReportsResponse build()
Returns
TypeDescription
BatchRunReportsResponse

buildPartial()

public BatchRunReportsResponse buildPartial()
Returns
TypeDescription
BatchRunReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchRunReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchRunReportsResponse

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

string kind = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getReportsCount()

public int getReportsCount()

Individual responses. Each response has a separate report request.

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

Returns
TypeDescription
int

getReportsList()

public List<RunReportResponse> getReportsList()

Individual responses. Each response has a separate report request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1beta.RunReportResponseOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchRunReportsResponse other)

public BatchRunReportsResponse.Builder mergeFrom(BatchRunReportsResponse other)
Parameter
NameDescription
otherBatchRunReportsResponse
Returns
TypeDescription
BatchRunReportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The kind to set.

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

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRunReportResponse
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRunReportResponse.Builder
Returns
TypeDescription
BatchRunReportsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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