Class ListReportTasksResponse.Builder (0.55.0)

public static final class ListReportTasksResponse.Builder extends GeneratedMessageV3.Builder<ListReportTasksResponse.Builder> implements ListReportTasksResponseOrBuilder

A list of all report tasks for a property.

Protobuf type google.analytics.data.v1alpha.ListReportTasksResponse

Static Methods

getDescriptor()

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

Methods

addAllReportTasks(Iterable<? extends ReportTask> values)

public ListReportTasksResponse.Builder addAllReportTasks(Iterable<? extends ReportTask> values)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.ReportTask>
Returns
Type Description
ListReportTasksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReportTasks(ReportTask value)

public ListReportTasksResponse.Builder addReportTasks(ReportTask value)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
value ReportTask
Returns
Type Description
ListReportTasksResponse.Builder

addReportTasks(ReportTask.Builder builderForValue)

public ListReportTasksResponse.Builder addReportTasks(ReportTask.Builder builderForValue)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
builderForValue ReportTask.Builder
Returns
Type Description
ListReportTasksResponse.Builder

addReportTasks(int index, ReportTask value)

public ListReportTasksResponse.Builder addReportTasks(int index, ReportTask value)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameters
Name Description
index int
value ReportTask
Returns
Type Description
ListReportTasksResponse.Builder

addReportTasks(int index, ReportTask.Builder builderForValue)

public ListReportTasksResponse.Builder addReportTasks(int index, ReportTask.Builder builderForValue)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameters
Name Description
index int
builderForValue ReportTask.Builder
Returns
Type Description
ListReportTasksResponse.Builder

addReportTasksBuilder()

public ReportTask.Builder addReportTasksBuilder()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
ReportTask.Builder

addReportTasksBuilder(int index)

public ReportTask.Builder addReportTasksBuilder(int index)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportTask.Builder

build()

public ListReportTasksResponse build()
Returns
Type Description
ListReportTasksResponse

buildPartial()

public ListReportTasksResponse buildPartial()
Returns
Type Description
ListReportTasksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReportTasksResponse.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.

optional string next_page_token = 2;

Returns
Type Description
ListReportTasksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportTasks()

public ListReportTasksResponse.Builder clearReportTasks()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
ListReportTasksResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReportTasksResponse getDefaultInstanceForType()
Returns
Type Description
ListReportTasksResponse

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.

optional 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.

optional string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getReportTasks(int index)

public ReportTask getReportTasks(int index)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportTask

getReportTasksBuilder(int index)

public ReportTask.Builder getReportTasksBuilder(int index)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportTask.Builder

getReportTasksBuilderList()

public List<ReportTask.Builder> getReportTasksBuilderList()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
List<Builder>

getReportTasksCount()

public int getReportTasksCount()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
int

getReportTasksList()

public List<ReportTask> getReportTasksList()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
List<ReportTask>

getReportTasksOrBuilder(int index)

public ReportTaskOrBuilder getReportTasksOrBuilder(int index)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportTaskOrBuilder

getReportTasksOrBuilderList()

public List<? extends ReportTaskOrBuilder> getReportTasksOrBuilderList()

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.ReportTaskOrBuilder>

hasNextPageToken()

public boolean hasNextPageToken()

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

optional string next_page_token = 2;

Returns
Type Description
boolean

Whether the nextPageToken field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReportTasksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReportTasks(int index)

public ListReportTasksResponse.Builder removeReportTasks(int index)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReportTasksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListReportTasksResponse.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.

optional string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListReportTasksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReportTasksResponse.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.

optional string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListReportTasksResponse.Builder

This builder for chaining.

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

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

setReportTasks(int index, ReportTask value)

public ListReportTasksResponse.Builder setReportTasks(int index, ReportTask value)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameters
Name Description
index int
value ReportTask
Returns
Type Description
ListReportTasksResponse.Builder

setReportTasks(int index, ReportTask.Builder builderForValue)

public ListReportTasksResponse.Builder setReportTasks(int index, ReportTask.Builder builderForValue)

Each report task for a property.

repeated .google.analytics.data.v1alpha.ReportTask report_tasks = 1;

Parameters
Name Description
index int
builderForValue ReportTask.Builder
Returns
Type Description
ListReportTasksResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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