Class RunAccessReportResponse.Builder (0.50.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.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.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.v1beta.AccessRow rows = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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. This field doesn't work with account-level requests.

.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1;

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessMetricHeader metric_headers = 2;

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

getQuota()

public AccessQuota getQuota()

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

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

Returns
TypeDescription
AccessQuota

The quota.

getQuotaBuilder()

public AccessQuota.Builder getQuotaBuilder()

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

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

Returns
TypeDescription
AccessQuota.Builder

getQuotaOrBuilder()

public AccessQuotaOrBuilder getQuotaOrBuilder()

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessRow rows = 3;

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

hasQuota()

public boolean hasQuota()

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

.google.analytics.admin.v1beta.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. This field doesn't work with account-level requests.

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

Parameter
NameDescription
valueAccessQuota
Returns
TypeDescription
RunAccessReportResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunAccessReportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunAccessReportResponse.Builder
Overrides

removeDimensionHeaders(int index)

public RunAccessReportResponse.Builder removeDimensionHeaders(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.v1beta.AccessDimensionHeader dimension_headers = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunAccessReportResponse.Builder

removeMetricHeaders(int index)

public RunAccessReportResponse.Builder removeMetricHeaders(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.v1beta.AccessMetricHeader metric_headers = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunAccessReportResponse.Builder

removeRows(int index)

public RunAccessReportResponse.Builder removeRows(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RunAccessReportResponse.Builder

setDimensionHeaders(int index, AccessDimensionHeader value)

public RunAccessReportResponse.Builder setDimensionHeaders(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.v1beta.AccessDimensionHeader dimension_headers = 1;

Parameters
NameDescription
indexint
valueAccessDimensionHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

setDimensionHeaders(int index, AccessDimensionHeader.Builder builderForValue)

public RunAccessReportResponse.Builder setDimensionHeaders(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.v1beta.AccessDimensionHeader dimension_headers = 1;

Parameters
NameDescription
indexint
builderForValueAccessDimensionHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetricHeaders(int index, AccessMetricHeader value)

public RunAccessReportResponse.Builder setMetricHeaders(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.v1beta.AccessMetricHeader metric_headers = 2;

Parameters
NameDescription
indexint
valueAccessMetricHeader
Returns
TypeDescription
RunAccessReportResponse.Builder

setMetricHeaders(int index, AccessMetricHeader.Builder builderForValue)

public RunAccessReportResponse.Builder setMetricHeaders(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.v1beta.AccessMetricHeader metric_headers = 2;

Parameters
NameDescription
indexint
builderForValueAccessMetricHeader.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

setQuota(AccessQuota value)

public RunAccessReportResponse.Builder setQuota(AccessQuota value)

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

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

Parameter
NameDescription
valueAccessQuota
Returns
TypeDescription
RunAccessReportResponse.Builder

setQuota(AccessQuota.Builder builderForValue)

public RunAccessReportResponse.Builder setQuota(AccessQuota.Builder builderForValue)

The quota state for this Analytics property including this request. This field doesn't work with account-level requests.

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

Parameter
NameDescription
builderForValueAccessQuota.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

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

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

setRowCount(int value)

public RunAccessReportResponse.Builder setRowCount(int value)

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;

Parameter
NameDescription
valueint

The rowCount to set.

Returns
TypeDescription
RunAccessReportResponse.Builder

This builder for chaining.

setRows(int index, AccessRow value)

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

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

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

Parameters
NameDescription
indexint
valueAccessRow
Returns
TypeDescription
RunAccessReportResponse.Builder

setRows(int index, AccessRow.Builder builderForValue)

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

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

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

Parameters
NameDescription
indexint
builderForValueAccessRow.Builder
Returns
TypeDescription
RunAccessReportResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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