Class ListReportingDataAnnotationsResponse.Builder (0.95.0)

public static final class ListReportingDataAnnotationsResponse.Builder extends GeneratedMessage.Builder<ListReportingDataAnnotationsResponse.Builder> implements ListReportingDataAnnotationsResponseOrBuilder

Response message for ListReportingDataAnnotation RPC.

Protobuf type google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse

Static Methods

getDescriptor()

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

Methods

addAllReportingDataAnnotations(Iterable<? extends ReportingDataAnnotation> values)

public ListReportingDataAnnotationsResponse.Builder addAllReportingDataAnnotations(Iterable<? extends ReportingDataAnnotation> values)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.ReportingDataAnnotation>
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

addReportingDataAnnotations(ReportingDataAnnotation value)

public ListReportingDataAnnotationsResponse.Builder addReportingDataAnnotations(ReportingDataAnnotation value)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
value ReportingDataAnnotation
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

addReportingDataAnnotations(ReportingDataAnnotation.Builder builderForValue)

public ListReportingDataAnnotationsResponse.Builder addReportingDataAnnotations(ReportingDataAnnotation.Builder builderForValue)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
builderForValue ReportingDataAnnotation.Builder
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

addReportingDataAnnotations(int index, ReportingDataAnnotation value)

public ListReportingDataAnnotationsResponse.Builder addReportingDataAnnotations(int index, ReportingDataAnnotation value)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameters
Name Description
index int
value ReportingDataAnnotation
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

addReportingDataAnnotations(int index, ReportingDataAnnotation.Builder builderForValue)

public ListReportingDataAnnotationsResponse.Builder addReportingDataAnnotations(int index, ReportingDataAnnotation.Builder builderForValue)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameters
Name Description
index int
builderForValue ReportingDataAnnotation.Builder
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

addReportingDataAnnotationsBuilder()

public ReportingDataAnnotation.Builder addReportingDataAnnotationsBuilder()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
ReportingDataAnnotation.Builder

addReportingDataAnnotationsBuilder(int index)

public ReportingDataAnnotation.Builder addReportingDataAnnotationsBuilder(int index)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportingDataAnnotation.Builder

build()

public ListReportingDataAnnotationsResponse build()
Returns
Type Description
ListReportingDataAnnotationsResponse

buildPartial()

public ListReportingDataAnnotationsResponse buildPartial()
Returns
Type Description
ListReportingDataAnnotationsResponse

clear()

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

clearNextPageToken()

public ListReportingDataAnnotationsResponse.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
ListReportingDataAnnotationsResponse.Builder

This builder for chaining.

clearReportingDataAnnotations()

public ListReportingDataAnnotationsResponse.Builder clearReportingDataAnnotations()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

getDefaultInstanceForType()

public ListReportingDataAnnotationsResponse getDefaultInstanceForType()
Returns
Type Description
ListReportingDataAnnotationsResponse

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.

getReportingDataAnnotations(int index)

public ReportingDataAnnotation getReportingDataAnnotations(int index)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportingDataAnnotation

getReportingDataAnnotationsBuilder(int index)

public ReportingDataAnnotation.Builder getReportingDataAnnotationsBuilder(int index)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportingDataAnnotation.Builder

getReportingDataAnnotationsBuilderList()

public List<ReportingDataAnnotation.Builder> getReportingDataAnnotationsBuilderList()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
List<Builder>

getReportingDataAnnotationsCount()

public int getReportingDataAnnotationsCount()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
int

getReportingDataAnnotationsList()

public List<ReportingDataAnnotation> getReportingDataAnnotationsList()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
List<ReportingDataAnnotation>

getReportingDataAnnotationsOrBuilder(int index)

public ReportingDataAnnotationOrBuilder getReportingDataAnnotationsOrBuilder(int index)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportingDataAnnotationOrBuilder

getReportingDataAnnotationsOrBuilderList()

public List<? extends ReportingDataAnnotationOrBuilder> getReportingDataAnnotationsOrBuilderList()

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.ReportingDataAnnotationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReportingDataAnnotationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeReportingDataAnnotations(int index)

public ListReportingDataAnnotationsResponse.Builder removeReportingDataAnnotations(int index)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

setNextPageToken(String value)

public ListReportingDataAnnotationsResponse.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
ListReportingDataAnnotationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReportingDataAnnotationsResponse.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
ListReportingDataAnnotationsResponse.Builder

This builder for chaining.

setReportingDataAnnotations(int index, ReportingDataAnnotation value)

public ListReportingDataAnnotationsResponse.Builder setReportingDataAnnotations(int index, ReportingDataAnnotation value)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameters
Name Description
index int
value ReportingDataAnnotation
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder

setReportingDataAnnotations(int index, ReportingDataAnnotation.Builder builderForValue)

public ListReportingDataAnnotationsResponse.Builder setReportingDataAnnotations(int index, ReportingDataAnnotation.Builder builderForValue)

List of Reporting Data Annotations.

repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1;

Parameters
Name Description
index int
builderForValue ReportingDataAnnotation.Builder
Returns
Type Description
ListReportingDataAnnotationsResponse.Builder