Class FetchReportResultsResponse.Builder (3.20.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.Row>
Returns
TypeDescription
FetchReportResultsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchReportResultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueRow
Returns
TypeDescription
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
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

build()

public FetchReportResultsResponse build()
Returns
TypeDescription
FetchReportResultsResponse

buildPartial()

public FetchReportResultsResponse buildPartial()
Returns
TypeDescription
FetchReportResultsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchReportResultsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchReportResultsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the reportMetadata field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchReportResultsResponse other)

public FetchReportResultsResponse.Builder mergeFrom(FetchReportResultsResponse other)
Parameter
NameDescription
otherFetchReportResultsResponse
Returns
TypeDescription
FetchReportResultsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FetchReportResultsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReportResultsMetadata
Returns
TypeDescription
FetchReportResultsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReportResultsMetadata
Returns
TypeDescription
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
NameDescription
builderForValueReportResultsMetadata.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRow
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRow.Builder
Returns
TypeDescription
FetchReportResultsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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