Class ListReportsResponse.Builder (3.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.Report>
Returns
TypeDescription
ListReportsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReportsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReport
Returns
TypeDescription
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
NameDescription
builderForValueReport.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReport
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReport.Builder
Returns
TypeDescription
ListReportsResponse.Builder

addReportsBuilder()

public Report.Builder addReportsBuilder()

The reports available to the partner.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Report.Builder

build()

public ListReportsResponse build()
Returns
TypeDescription
ListReportsResponse

buildPartial()

public ListReportsResponse buildPartial()
Returns
TypeDescription
ListReportsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListReportsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListReportsResponse.Builder
Overrides

clearReports()

public ListReportsResponse.Builder clearReports()

The reports available to the partner.

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

Returns
TypeDescription
ListReportsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReportsResponse

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Report.Builder

getReportsBuilderList()

public List<Report.Builder> getReportsBuilderList()

The reports available to the partner.

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

Returns
TypeDescription
List<Builder>

getReportsCount()

public int getReportsCount()

The reports available to the partner.

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

Returns
TypeDescription
int

getReportsList()

public List<Report> getReportsList()

The reports available to the partner.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportOrBuilder

getReportsOrBuilderList()

public List<? extends ReportOrBuilder> getReportsOrBuilderList()

The reports available to the partner.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReportsResponse other)

public ListReportsResponse.Builder mergeFrom(ListReportsResponse other)
Parameter
NameDescription
otherListReportsResponse
Returns
TypeDescription
ListReportsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListReportsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListReportsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReport
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReport.Builder
Returns
TypeDescription
ListReportsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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