Class FetchReportResultsResponse.Builder (3.55.0)

public static final class FetchReportResultsResponse.Builder extends GeneratedMessageV3.Builder<FetchReportResultsResponse.Builder> implements FetchReportResultsResponseOrBuilder

Response message for CloudChannelReportsService.FetchReportResults. Contains a tabular representation of the report results.

Protobuf type google.cloud.channel.v1.FetchReportResultsResponse

Static Methods

getDescriptor()

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

Methods

addAllRows(Iterable<? extends Row> values)

public FetchReportResultsResponse.Builder addAllRows(Iterable<? extends Row> values)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.Row>
Returns
Type Description
FetchReportResultsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchReportResultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

addRows(Row value)

public FetchReportResultsResponse.Builder addRows(Row value)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
value Row
Returns
Type Description
FetchReportResultsResponse.Builder

addRows(Row.Builder builderForValue)

public FetchReportResultsResponse.Builder addRows(Row.Builder builderForValue)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
builderForValue Row.Builder
Returns
Type Description
FetchReportResultsResponse.Builder

addRows(int index, Row value)

public FetchReportResultsResponse.Builder addRows(int index, Row value)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameters
Name Description
index int
value Row
Returns
Type Description
FetchReportResultsResponse.Builder

addRows(int index, Row.Builder builderForValue)

public FetchReportResultsResponse.Builder addRows(int index, Row.Builder builderForValue)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
FetchReportResultsResponse.Builder

addRowsBuilder()

public Row.Builder addRowsBuilder()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
Row.Builder

addRowsBuilder(int index)

public Row.Builder addRowsBuilder(int index)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

build()

public FetchReportResultsResponse build()
Returns
Type Description
FetchReportResultsResponse

buildPartial()

public FetchReportResultsResponse buildPartial()
Returns
Type Description
FetchReportResultsResponse

clear()

public FetchReportResultsResponse.Builder clear()
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchReportResultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

clearNextPageToken()

public FetchReportResultsResponse.Builder clearNextPageToken()

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

string next_page_token = 3;

Returns
Type Description
FetchReportResultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchReportResultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

clearReportMetadata()

public FetchReportResultsResponse.Builder clearReportMetadata()

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Returns
Type Description
FetchReportResultsResponse.Builder

clearRows()

public FetchReportResultsResponse.Builder clearRows()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
FetchReportResultsResponse.Builder

clone()

public FetchReportResultsResponse.Builder clone()
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchReportResultsResponse getDefaultInstanceForType()
Returns
Type Description
FetchReportResultsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getReportMetadata()

public ReportResultsMetadata getReportMetadata()

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Returns
Type Description
ReportResultsMetadata

The reportMetadata.

getReportMetadataBuilder()

public ReportResultsMetadata.Builder getReportMetadataBuilder()

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Returns
Type Description
ReportResultsMetadata.Builder

getReportMetadataOrBuilder()

public ReportResultsMetadataOrBuilder getReportMetadataOrBuilder()

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Returns
Type Description
ReportResultsMetadataOrBuilder

getRows(int index)

public Row getRows(int index)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
Row

getRowsBuilder(int index)

public Row.Builder getRowsBuilder(int index)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

getRowsBuilderList()

public List<Row.Builder> getRowsBuilderList()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
List<Builder>

getRowsCount()

public int getRowsCount()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
int

getRowsList()

public List<Row> getRowsList()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
List<Row>

getRowsOrBuilder(int index)

public RowOrBuilder getRowsOrBuilder(int index)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getRowsOrBuilderList()

public List<? extends RowOrBuilder> getRowsOrBuilderList()

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.RowOrBuilder>

hasReportMetadata()

public boolean hasReportMetadata()

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Returns
Type Description
boolean

Whether the reportMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchReportResultsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReportMetadata(ReportResultsMetadata value)

public FetchReportResultsResponse.Builder mergeReportMetadata(ReportResultsMetadata value)

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Parameter
Name Description
value ReportResultsMetadata
Returns
Type Description
FetchReportResultsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchReportResultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

removeRows(int index)

public FetchReportResultsResponse.Builder removeRows(int index)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
FetchReportResultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchReportResultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

setNextPageToken(String value)

public FetchReportResultsResponse.Builder setNextPageToken(String value)

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchReportResultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchReportResultsResponse.Builder setNextPageTokenBytes(ByteString value)

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchReportResultsResponse.Builder

This builder for chaining.

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

public FetchReportResultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides

setReportMetadata(ReportResultsMetadata value)

public FetchReportResultsResponse.Builder setReportMetadata(ReportResultsMetadata value)

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Parameter
Name Description
value ReportResultsMetadata
Returns
Type Description
FetchReportResultsResponse.Builder

setReportMetadata(ReportResultsMetadata.Builder builderForValue)

public FetchReportResultsResponse.Builder setReportMetadata(ReportResultsMetadata.Builder builderForValue)

The metadata for the report results (display name, columns, row count, and date ranges).

.google.cloud.channel.v1.ReportResultsMetadata report_metadata = 1;

Parameter
Name Description
builderForValue ReportResultsMetadata.Builder
Returns
Type Description
FetchReportResultsResponse.Builder

setRows(int index, Row value)

public FetchReportResultsResponse.Builder setRows(int index, Row value)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameters
Name Description
index int
value Row
Returns
Type Description
FetchReportResultsResponse.Builder

setRows(int index, Row.Builder builderForValue)

public FetchReportResultsResponse.Builder setRows(int index, Row.Builder builderForValue)

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

repeated .google.cloud.channel.v1.Row rows = 2;

Parameters
Name Description
index int
builderForValue Row.Builder
Returns
Type Description
FetchReportResultsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchReportResultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchReportResultsResponse.Builder
Overrides