Class ListReportsResponse.Builder (3.55.0)

public static final class ListReportsResponse.Builder extends GeneratedMessageV3.Builder<ListReportsResponse.Builder> implements ListReportsResponseOrBuilder

Response message for CloudChannelReportsService.ListReports.

Protobuf type google.cloud.channel.v1.ListReportsResponse

Static Methods

getDescriptor()

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

Methods

addAllReports(Iterable<? extends Report> values)

public ListReportsResponse.Builder addAllReports(Iterable<? extends Report> values)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReports(Report value)

public ListReportsResponse.Builder addReports(Report value)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
value Report
Returns
Type Description
ListReportsResponse.Builder

addReports(Report.Builder builderForValue)

public ListReportsResponse.Builder addReports(Report.Builder builderForValue)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
builderForValue Report.Builder
Returns
Type Description
ListReportsResponse.Builder

addReports(int index, Report value)

public ListReportsResponse.Builder addReports(int index, Report value)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameters
Name Description
index int
value Report
Returns
Type Description
ListReportsResponse.Builder

addReports(int index, Report.Builder builderForValue)

public ListReportsResponse.Builder addReports(int index, Report.Builder builderForValue)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameters
Name Description
index int
builderForValue Report.Builder
Returns
Type Description
ListReportsResponse.Builder

addReportsBuilder()

public Report.Builder addReportsBuilder()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Returns
Type Description
Report.Builder

addReportsBuilder(int index)

public Report.Builder addReportsBuilder(int index)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Builder

build()

public ListReportsResponse build()
Returns
Type Description
ListReportsResponse

buildPartial()

public ListReportsResponse buildPartial()
Returns
Type Description
ListReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReportsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListReportsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReports()

public ListReportsResponse.Builder clearReports()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Returns
Type Description
ListReportsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReportsResponse getDefaultInstanceForType()
Returns
Type Description
ListReportsResponse

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 = 2;

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 = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getReports(int index)

public Report getReports(int index)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
Report

getReportsBuilder(int index)

public Report.Builder getReportsBuilder(int index)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Builder

getReportsBuilderList()

public List<Report.Builder> getReportsBuilderList()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Returns
Type Description
List<Builder>

getReportsCount()

public int getReportsCount()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Returns
Type Description
int

getReportsList()

public List<Report> getReportsList()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Returns
Type Description
List<Report>

getReportsOrBuilder(int index)

public ReportOrBuilder getReportsOrBuilder(int index)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportOrBuilder

getReportsOrBuilderList()

public List<? extends ReportOrBuilder> getReportsOrBuilderList()

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReportsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReports(int index)

public ListReportsResponse.Builder removeReports(int index)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReportsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListReportsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListReportsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReportsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListReportsResponse.Builder

This builder for chaining.

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

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

setReports(int index, Report value)

public ListReportsResponse.Builder setReports(int index, Report value)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameters
Name Description
index int
value Report
Returns
Type Description
ListReportsResponse.Builder

setReports(int index, Report.Builder builderForValue)

public ListReportsResponse.Builder setReports(int index, Report.Builder builderForValue)

The reports available to the partner.

repeated .google.cloud.channel.v1.Report reports = 1;

Parameters
Name Description
index int
builderForValue Report.Builder
Returns
Type Description
ListReportsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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