Class ListReportsResponse.Builder (0.12.0)

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

Response object for ListReportsResponse containing matching Report objects.

Protobuf type google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

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

addReportsBuilder()

public Report.Builder addReportsBuilder()

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
Report.Builder

addReportsBuilder(int index)

public Report.Builder addReportsBuilder(int index)

The Report objects from the specified network.

repeated .google.ads.admanager.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()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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 Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
ListReportsResponse.Builder

clearTotalSize()

public ListReportsResponse.Builder clearTotalSize()

Total number of Report objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
ListReportsResponse.Builder

This builder for chaining.

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()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getReports(int index)

public Report getReports(int index)

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
Report

getReportsBuilder(int index)

public Report.Builder getReportsBuilder(int index)

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
Report.Builder

getReportsBuilderList()

public List<Report.Builder> getReportsBuilderList()

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
List<Builder>

getReportsCount()

public int getReportsCount()

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
int

getReportsList()

public List<Report> getReportsList()

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
List<Report>

getReportsOrBuilder(int index)

public ReportOrBuilder getReportsOrBuilder(int index)

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportOrBuilder

getReportsOrBuilderList()

public List<? extends ReportOrBuilder> getReportsOrBuilderList()

The Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.ReportOrBuilder>

getTotalSize()

public int getTotalSize()

Total number of Report objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

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 Report objects from the specified network.

repeated .google.ads.admanager.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)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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 Report objects from the specified network.

repeated .google.ads.admanager.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 Report objects from the specified network.

repeated .google.ads.admanager.v1.Report reports = 1;

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

setTotalSize(int value)

public ListReportsResponse.Builder setTotalSize(int value)

Total number of Report objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListReportsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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