Class RunAccessReportResponse.Builder (0.14.0)

public static final class RunAccessReportResponse.Builder extends GeneratedMessageV3.Builder<RunAccessReportResponse.Builder> implements RunAccessReportResponseOrBuilder

The customized Data Access Record Report response.

Protobuf type google.analytics.admin.v1alpha.RunAccessReportResponse

Static Methods

getDescriptor()

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

Methods

addAllDimensionHeaders(Iterable<? extends AccessDimensionHeader> values)

public RunAccessReportResponse.Builder addAllDimensionHeaders(Iterable<? extends AccessDimensionHeader> values)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.AccessDimensionHeader>
Returns
TypeDescription
RunAccessReportResponse.Builder

addAllMetricHeaders(Iterable<? extends AccessMetricHeader> values)

public RunAccessReportResponse.Builder addAllMetricHeaders(Iterable<? extends AccessMetricHeader> values)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.AccessMetricHeader>
Returns
TypeDescription
RunAccessReportResponse.Builder

addAllRows(Iterable<? extends AccessRow> values)

public RunAccessReportResponse.Builder addAllRows(Iterable<? extends AccessRow> values)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.AccessRow>
Returns
TypeDescription
RunAccessReportResponse.Builder

addDimensionHeaders(AccessDimensionHeader value)

public RunAccessReportResponse.Builder addDimensionHeaders(AccessDimensionHeader value)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
valueAccessDimensionHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

addDimensionHeaders(AccessDimensionHeader.Builder builderForValue)

public RunAccessReportResponse.Builder addDimensionHeaders(AccessDimensionHeader.Builder builderForValue)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
builderForValueAccessDimensionHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addDimensionHeaders(int index, AccessDimensionHeader value)

public RunAccessReportResponse.Builder addDimensionHeaders(int index, AccessDimensionHeader value)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameters
NameDescription
indexint
valueAccessDimensionHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

addDimensionHeaders(int index, AccessDimensionHeader.Builder builderForValue)

public RunAccessReportResponse.Builder addDimensionHeaders(int index, AccessDimensionHeader.Builder builderForValue)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameters
NameDescription
indexint
builderForValueAccessDimensionHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addDimensionHeadersBuilder()

public AccessDimensionHeader.Builder addDimensionHeadersBuilder()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
AccessDimensionHeader.Builder

addDimensionHeadersBuilder(int index)

public AccessDimensionHeader.Builder addDimensionHeadersBuilder(int index)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessDimensionHeader.Builder

addMetricHeaders(AccessMetricHeader value)

public RunAccessReportResponse.Builder addMetricHeaders(AccessMetricHeader value)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
valueAccessMetricHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

addMetricHeaders(AccessMetricHeader.Builder builderForValue)

public RunAccessReportResponse.Builder addMetricHeaders(AccessMetricHeader.Builder builderForValue)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
builderForValueAccessMetricHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addMetricHeaders(int index, AccessMetricHeader value)

public RunAccessReportResponse.Builder addMetricHeaders(int index, AccessMetricHeader value)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameters
NameDescription
indexint
valueAccessMetricHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

addMetricHeaders(int index, AccessMetricHeader.Builder builderForValue)

public RunAccessReportResponse.Builder addMetricHeaders(int index, AccessMetricHeader.Builder builderForValue)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameters
NameDescription
indexint
builderForValueAccessMetricHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addMetricHeadersBuilder()

public AccessMetricHeader.Builder addMetricHeadersBuilder()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
AccessMetricHeader.Builder

addMetricHeadersBuilder(int index)

public AccessMetricHeader.Builder addMetricHeadersBuilder(int index)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessMetricHeader.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRows(AccessRow value)

public RunAccessReportResponse.Builder addRows(AccessRow value)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
valueAccessRow
Returns
TypeDescription
RunAccessReportResponse.Builder

addRows(AccessRow.Builder builderForValue)

public RunAccessReportResponse.Builder addRows(AccessRow.Builder builderForValue)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
builderForValueAccessRow.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addRows(int index, AccessRow value)

public RunAccessReportResponse.Builder addRows(int index, AccessRow value)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameters
NameDescription
indexint
valueAccessRow
Returns
TypeDescription
RunAccessReportResponse.Builder

addRows(int index, AccessRow.Builder builderForValue)

public RunAccessReportResponse.Builder addRows(int index, AccessRow.Builder builderForValue)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameters
NameDescription
indexint
builderForValueAccessRow.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

addRowsBuilder()

public AccessRow.Builder addRowsBuilder()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
AccessRow.Builder

addRowsBuilder(int index)

public AccessRow.Builder addRowsBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessRow.Builder

build()

public RunAccessReportResponse build()
Returns
TypeDescription
RunAccessReportResponse

buildPartial()

public RunAccessReportResponse buildPartial()
Returns
TypeDescription
RunAccessReportResponse

clear()

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

clearDimensionHeaders()

public RunAccessReportResponse.Builder clearDimensionHeaders()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
RunAccessReportResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RunAccessReportResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunAccessReportResponse.Builder
Overrides

clearMetricHeaders()

public RunAccessReportResponse.Builder clearMetricHeaders()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
RunAccessReportResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RunAccessReportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RunAccessReportResponse.Builder
Overrides

clearQuota()

public RunAccessReportResponse.Builder clearQuota()

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Returns
TypeDescription
RunAccessReportResponse.Builder

clearRowCount()

public RunAccessReportResponse.Builder clearRowCount()

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows. To learn more about this pagination parameter, see Pagination.

int32 row_count = 4;

Returns
TypeDescription
RunAccessReportResponse.Builder

This builder for chaining.

clearRows()

public RunAccessReportResponse.Builder clearRows()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
RunAccessReportResponse.Builder

clone()

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

getDefaultInstanceForType()

public RunAccessReportResponse getDefaultInstanceForType()
Returns
TypeDescription
RunAccessReportResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionHeaders(int index)

public AccessDimensionHeader getDimensionHeaders(int index)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessDimensionHeader

getDimensionHeadersBuilder(int index)

public AccessDimensionHeader.Builder getDimensionHeadersBuilder(int index)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessDimensionHeader.Builder

getDimensionHeadersBuilderList()

public List<AccessDimensionHeader.Builder> getDimensionHeadersBuilderList()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
List<Builder>

getDimensionHeadersCount()

public int getDimensionHeadersCount()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
int

getDimensionHeadersList()

public List<AccessDimensionHeader> getDimensionHeadersList()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
List<AccessDimensionHeader>

getDimensionHeadersOrBuilder(int index)

public AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder(int index)

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessDimensionHeaderOrBuilder

getDimensionHeadersOrBuilderList()

public List<? extends AccessDimensionHeaderOrBuilder> getDimensionHeadersOrBuilderList()

The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.AccessDimensionHeaderOrBuilder>

getMetricHeaders(int index)

public AccessMetricHeader getMetricHeaders(int index)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessMetricHeader

getMetricHeadersBuilder(int index)

public AccessMetricHeader.Builder getMetricHeadersBuilder(int index)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessMetricHeader.Builder

getMetricHeadersBuilderList()

public List<AccessMetricHeader.Builder> getMetricHeadersBuilderList()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
List<Builder>

getMetricHeadersCount()

public int getMetricHeadersCount()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
int

getMetricHeadersList()

public List<AccessMetricHeader> getMetricHeadersList()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
List<AccessMetricHeader>

getMetricHeadersOrBuilder(int index)

public AccessMetricHeaderOrBuilder getMetricHeadersOrBuilder(int index)

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessMetricHeaderOrBuilder

getMetricHeadersOrBuilderList()

public List<? extends AccessMetricHeaderOrBuilder> getMetricHeadersOrBuilderList()

The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.AccessMetricHeaderOrBuilder>

getQuota()

public AccessQuota getQuota()

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Returns
TypeDescription
AccessQuota

The quota.

getQuotaBuilder()

public AccessQuota.Builder getQuotaBuilder()

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Returns
TypeDescription
AccessQuota.Builder

getQuotaOrBuilder()

public AccessQuotaOrBuilder getQuotaOrBuilder()

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Returns
TypeDescription
AccessQuotaOrBuilder

getRowCount()

public int getRowCount()

The total number of rows in the query result. rowCount is independent of the number of rows returned in the response, the limit request parameter, and the offset request parameter. For example if a query returns 175 rows and includes limit of 50 in the API request, the response will contain rowCount of 175 but only 50 rows. To learn more about this pagination parameter, see Pagination.

int32 row_count = 4;

Returns
TypeDescription
int

The rowCount.

getRows(int index)

public AccessRow getRows(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessRow

getRowsBuilder(int index)

public AccessRow.Builder getRowsBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessRow.Builder

getRowsBuilderList()

public List<AccessRow.Builder> getRowsBuilderList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
List<Builder>

getRowsCount()

public int getRowsCount()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
int

getRowsList()

public List<AccessRow> getRowsList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
List<AccessRow>

getRowsOrBuilder(int index)

public AccessRowOrBuilder getRowsOrBuilder(int index)

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessRowOrBuilder

getRowsOrBuilderList()

public List<? extends AccessRowOrBuilder> getRowsOrBuilderList()

Rows of dimension value combinations and metric values in the report.

repeated .google.analytics.admin.v1alpha.AccessRow rows = 3;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.AccessRowOrBuilder>

hasQuota()

public boolean hasQuota()

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Returns
TypeDescription
boolean

Whether the quota field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunAccessReportResponse other)

public RunAccessReportResponse.Builder mergeFrom(RunAccessReportResponse other)
Parameter
NameDescription
otherRunAccessReportResponse
Returns
TypeDescription
RunAccessReportResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQuota(AccessQuota value)

public RunAccessReportResponse.Builder mergeQuota(AccessQuota value)

The quota state for this Analytics property including this request.

.google.analytics.admin.v1alpha.AccessQuota quota = 5;

Parameter
NameDescription
value