Class ListCalculatedMetricsResponse.Builder (0.58.0)

public static final class ListCalculatedMetricsResponse.Builder extends GeneratedMessageV3.Builder<ListCalculatedMetricsResponse.Builder> implements ListCalculatedMetricsResponseOrBuilder

Response message for ListCalculatedMetrics RPC.

Protobuf type google.analytics.admin.v1alpha.ListCalculatedMetricsResponse

Static Methods

getDescriptor()

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

Methods

addAllCalculatedMetrics(Iterable<? extends CalculatedMetric> values)

public ListCalculatedMetricsResponse.Builder addAllCalculatedMetrics(Iterable<? extends CalculatedMetric> values)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

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

addCalculatedMetrics(CalculatedMetric value)

public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(CalculatedMetric value)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
value CalculatedMetric
Returns
Type Description
ListCalculatedMetricsResponse.Builder

addCalculatedMetrics(CalculatedMetric.Builder builderForValue)

public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(CalculatedMetric.Builder builderForValue)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
builderForValue CalculatedMetric.Builder
Returns
Type Description
ListCalculatedMetricsResponse.Builder

addCalculatedMetrics(int index, CalculatedMetric value)

public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(int index, CalculatedMetric value)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameters
Name Description
index int
value CalculatedMetric
Returns
Type Description
ListCalculatedMetricsResponse.Builder

addCalculatedMetrics(int index, CalculatedMetric.Builder builderForValue)

public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(int index, CalculatedMetric.Builder builderForValue)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameters
Name Description
index int
builderForValue CalculatedMetric.Builder
Returns
Type Description
ListCalculatedMetricsResponse.Builder

addCalculatedMetricsBuilder()

public CalculatedMetric.Builder addCalculatedMetricsBuilder()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
Type Description
CalculatedMetric.Builder

addCalculatedMetricsBuilder(int index)

public CalculatedMetric.Builder addCalculatedMetricsBuilder(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
CalculatedMetric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCalculatedMetricsResponse build()
Returns
Type Description
ListCalculatedMetricsResponse

buildPartial()

public ListCalculatedMetricsResponse buildPartial()
Returns
Type Description
ListCalculatedMetricsResponse

clear()

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

clearCalculatedMetrics()

public ListCalculatedMetricsResponse.Builder clearCalculatedMetrics()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
Type Description
ListCalculatedMetricsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCalculatedMetrics(int index)

public CalculatedMetric getCalculatedMetrics(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
CalculatedMetric

getCalculatedMetricsBuilder(int index)

public CalculatedMetric.Builder getCalculatedMetricsBuilder(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
CalculatedMetric.Builder

getCalculatedMetricsBuilderList()

public List<CalculatedMetric.Builder> getCalculatedMetricsBuilderList()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
Type Description
List<Builder>

getCalculatedMetricsCount()

public int getCalculatedMetricsCount()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
Type Description
int

getCalculatedMetricsList()

public List<CalculatedMetric> getCalculatedMetricsList()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Returns
Type Description
List<CalculatedMetric>

getCalculatedMetricsOrBuilder(int index)

public CalculatedMetricOrBuilder getCalculatedMetricsOrBuilder(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
CalculatedMetricOrBuilder

getCalculatedMetricsOrBuilderList()

public List<? extends CalculatedMetricOrBuilder> getCalculatedMetricsOrBuilderList()

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

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

getDefaultInstanceForType()

public ListCalculatedMetricsResponse getDefaultInstanceForType()
Returns
Type Description
ListCalculatedMetricsResponse

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCalculatedMetricsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCalculatedMetrics(int index)

public ListCalculatedMetricsResponse.Builder removeCalculatedMetrics(int index)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCalculatedMetricsResponse.Builder

setCalculatedMetrics(int index, CalculatedMetric value)

public ListCalculatedMetricsResponse.Builder setCalculatedMetrics(int index, CalculatedMetric value)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameters
Name Description
index int
value CalculatedMetric
Returns
Type Description
ListCalculatedMetricsResponse.Builder

setCalculatedMetrics(int index, CalculatedMetric.Builder builderForValue)

public ListCalculatedMetricsResponse.Builder setCalculatedMetrics(int index, CalculatedMetric.Builder builderForValue)

List of CalculatedMetrics.

repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;

Parameters
Name Description
index int
builderForValue CalculatedMetric.Builder
Returns
Type Description
ListCalculatedMetricsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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