Class ResponseBlock.DataTable.Builder (0.110.0)

public static final class ResponseBlock.DataTable.Builder extends GeneratedMessage.Builder<ResponseBlock.DataTable.Builder> implements ResponseBlock.DataTableOrBuilder

A table of data.

Protobuf type google.analytics.data.v1alpha.ResponseBlock.DataTable

Static Methods

getDescriptor()

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

Methods

addAllHeaders(Iterable<? extends ResponseBlock.DataTableHeader> values)

public ResponseBlock.DataTable.Builder addAllHeaders(Iterable<? extends ResponseBlock.DataTableHeader> values)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.ResponseBlock.DataTableHeader>
Returns
Type Description
ResponseBlock.DataTable.Builder

addAllRows(Iterable<? extends ResponseBlock.DataTableRow> values)

public ResponseBlock.DataTable.Builder addAllRows(Iterable<? extends ResponseBlock.DataTableRow> values)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.ResponseBlock.DataTableRow>
Returns
Type Description
ResponseBlock.DataTable.Builder

addHeaders(ResponseBlock.DataTableHeader value)

public ResponseBlock.DataTable.Builder addHeaders(ResponseBlock.DataTableHeader value)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
value ResponseBlock.DataTableHeader
Returns
Type Description
ResponseBlock.DataTable.Builder

addHeaders(ResponseBlock.DataTableHeader.Builder builderForValue)

public ResponseBlock.DataTable.Builder addHeaders(ResponseBlock.DataTableHeader.Builder builderForValue)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
builderForValue ResponseBlock.DataTableHeader.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder

addHeaders(int index, ResponseBlock.DataTableHeader value)

public ResponseBlock.DataTable.Builder addHeaders(int index, ResponseBlock.DataTableHeader value)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameters
Name Description
index int
value ResponseBlock.DataTableHeader
Returns
Type Description
ResponseBlock.DataTable.Builder

addHeaders(int index, ResponseBlock.DataTableHeader.Builder builderForValue)

public ResponseBlock.DataTable.Builder addHeaders(int index, ResponseBlock.DataTableHeader.Builder builderForValue)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameters
Name Description
index int
builderForValue ResponseBlock.DataTableHeader.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder

addHeadersBuilder()

public ResponseBlock.DataTableHeader.Builder addHeadersBuilder()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
ResponseBlock.DataTableHeader.Builder

addHeadersBuilder(int index)

public ResponseBlock.DataTableHeader.Builder addHeadersBuilder(int index)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableHeader.Builder

addRows(ResponseBlock.DataTableRow value)

public ResponseBlock.DataTable.Builder addRows(ResponseBlock.DataTableRow value)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
value ResponseBlock.DataTableRow
Returns
Type Description
ResponseBlock.DataTable.Builder

addRows(ResponseBlock.DataTableRow.Builder builderForValue)

public ResponseBlock.DataTable.Builder addRows(ResponseBlock.DataTableRow.Builder builderForValue)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
builderForValue ResponseBlock.DataTableRow.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder

addRows(int index, ResponseBlock.DataTableRow value)

public ResponseBlock.DataTable.Builder addRows(int index, ResponseBlock.DataTableRow value)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameters
Name Description
index int
value ResponseBlock.DataTableRow
Returns
Type Description
ResponseBlock.DataTable.Builder

addRows(int index, ResponseBlock.DataTableRow.Builder builderForValue)

public ResponseBlock.DataTable.Builder addRows(int index, ResponseBlock.DataTableRow.Builder builderForValue)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameters
Name Description
index int
builderForValue ResponseBlock.DataTableRow.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder

addRowsBuilder()

public ResponseBlock.DataTableRow.Builder addRowsBuilder()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
ResponseBlock.DataTableRow.Builder

addRowsBuilder(int index)

public ResponseBlock.DataTableRow.Builder addRowsBuilder(int index)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableRow.Builder

build()

public ResponseBlock.DataTable build()
Returns
Type Description
ResponseBlock.DataTable

buildPartial()

public ResponseBlock.DataTable buildPartial()
Returns
Type Description
ResponseBlock.DataTable

clear()

public ResponseBlock.DataTable.Builder clear()
Returns
Type Description
ResponseBlock.DataTable.Builder
Overrides

clearHeaders()

public ResponseBlock.DataTable.Builder clearHeaders()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
ResponseBlock.DataTable.Builder

clearRows()

public ResponseBlock.DataTable.Builder clearRows()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
ResponseBlock.DataTable.Builder

getDefaultInstanceForType()

public ResponseBlock.DataTable getDefaultInstanceForType()
Returns
Type Description
ResponseBlock.DataTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHeaders(int index)

public ResponseBlock.DataTableHeader getHeaders(int index)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableHeader

getHeadersBuilder(int index)

public ResponseBlock.DataTableHeader.Builder getHeadersBuilder(int index)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableHeader.Builder

getHeadersBuilderList()

public List<ResponseBlock.DataTableHeader.Builder> getHeadersBuilderList()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
List<Builder>

getHeadersCount()

public int getHeadersCount()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
int

getHeadersList()

public List<ResponseBlock.DataTableHeader> getHeadersList()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
List<DataTableHeader>

getHeadersOrBuilder(int index)

public ResponseBlock.DataTableHeaderOrBuilder getHeadersOrBuilder(int index)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableHeaderOrBuilder

getHeadersOrBuilderList()

public List<? extends ResponseBlock.DataTableHeaderOrBuilder> getHeadersOrBuilderList()

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.ResponseBlock.DataTableHeaderOrBuilder>

getRows(int index)

public ResponseBlock.DataTableRow getRows(int index)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableRow

getRowsBuilder(int index)

public ResponseBlock.DataTableRow.Builder getRowsBuilder(int index)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableRow.Builder

getRowsBuilderList()

public List<ResponseBlock.DataTableRow.Builder> getRowsBuilderList()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
List<Builder>

getRowsCount()

public int getRowsCount()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
int

getRowsList()

public List<ResponseBlock.DataTableRow> getRowsList()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
List<DataTableRow>

getRowsOrBuilder(int index)

public ResponseBlock.DataTableRowOrBuilder getRowsOrBuilder(int index)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTableRowOrBuilder

getRowsOrBuilderList()

public List<? extends ResponseBlock.DataTableRowOrBuilder> getRowsOrBuilderList()

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.ResponseBlock.DataTableRowOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseBlock.DataTable other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeHeaders(int index)

public ResponseBlock.DataTable.Builder removeHeaders(int index)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTable.Builder

removeRows(int index)

public ResponseBlock.DataTable.Builder removeRows(int index)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameter
Name Description
index int
Returns
Type Description
ResponseBlock.DataTable.Builder

setHeaders(int index, ResponseBlock.DataTableHeader value)

public ResponseBlock.DataTable.Builder setHeaders(int index, ResponseBlock.DataTableHeader value)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameters
Name Description
index int
value ResponseBlock.DataTableHeader
Returns
Type Description
ResponseBlock.DataTable.Builder

setHeaders(int index, ResponseBlock.DataTableHeader.Builder builderForValue)

public ResponseBlock.DataTable.Builder setHeaders(int index, ResponseBlock.DataTableHeader.Builder builderForValue)

Describes dimension columns. The number of headers and ordering of headers matches the dimensions present in rows.

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableHeader headers = 1;

Parameters
Name Description
index int
builderForValue ResponseBlock.DataTableHeader.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder

setRows(int index, ResponseBlock.DataTableRow value)

public ResponseBlock.DataTable.Builder setRows(int index, ResponseBlock.DataTableRow value)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameters
Name Description
index int
value ResponseBlock.DataTableRow
Returns
Type Description
ResponseBlock.DataTable.Builder

setRows(int index, ResponseBlock.DataTableRow.Builder builderForValue)

public ResponseBlock.DataTable.Builder setRows(int index, ResponseBlock.DataTableRow.Builder builderForValue)

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

repeated .google.analytics.data.v1alpha.ResponseBlock.DataTableRow rows = 2;

Parameters
Name Description
index int
builderForValue ResponseBlock.DataTableRow.Builder
Returns
Type Description
ResponseBlock.DataTable.Builder