Class ListCalculatedMetricsResponse.Builder (0.45.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.CalculatedMetric>
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

addCalculatedMetrics(CalculatedMetric value)

public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(CalculatedMetric value)

List of CalculatedMetrics.

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

Parameter
NameDescription
valueCalculatedMetric
Returns
TypeDescription
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
NameDescription
builderForValueCalculatedMetric.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCalculatedMetric
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCalculatedMetric.Builder
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

addCalculatedMetricsBuilder()

public CalculatedMetric.Builder addCalculatedMetricsBuilder()

List of CalculatedMetrics.

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

Returns
TypeDescription
CalculatedMetric.Builder

addCalculatedMetricsBuilder(int index)

public CalculatedMetric.Builder addCalculatedMetricsBuilder(int index)

List of CalculatedMetrics.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCalculatedMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder
Overrides

build()

public ListCalculatedMetricsResponse build()
Returns
TypeDescription
ListCalculatedMetricsResponse

buildPartial()

public ListCalculatedMetricsResponse buildPartial()
Returns
TypeDescription
ListCalculatedMetricsResponse

clear()

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

clearCalculatedMetrics()

public ListCalculatedMetricsResponse.Builder clearCalculatedMetrics()

List of CalculatedMetrics.

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

Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCalculatedMetrics(int index)

public CalculatedMetric getCalculatedMetrics(int index)

List of CalculatedMetrics.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetric

getCalculatedMetricsBuilder(int index)

public CalculatedMetric.Builder getCalculatedMetricsBuilder(int index)

List of CalculatedMetrics.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetric.Builder

getCalculatedMetricsBuilderList()

public List<CalculatedMetric.Builder> getCalculatedMetricsBuilderList()

List of CalculatedMetrics.

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

Returns
TypeDescription
List<Builder>

getCalculatedMetricsCount()

public int getCalculatedMetricsCount()

List of CalculatedMetrics.

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

Returns
TypeDescription
int

getCalculatedMetricsList()

public List<CalculatedMetric> getCalculatedMetricsList()

List of CalculatedMetrics.

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

Returns
TypeDescription
List<CalculatedMetric>

getCalculatedMetricsOrBuilder(int index)

public CalculatedMetricOrBuilder getCalculatedMetricsOrBuilder(int index)

List of CalculatedMetrics.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CalculatedMetricOrBuilder

getCalculatedMetricsOrBuilderList()

public List<? extends CalculatedMetricOrBuilder> getCalculatedMetricsOrBuilderList()

List of CalculatedMetrics.

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

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

getDefaultInstanceForType()

public ListCalculatedMetricsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCalculatedMetricsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCalculatedMetricsResponse other)

public ListCalculatedMetricsResponse.Builder mergeFrom(ListCalculatedMetricsResponse other)
Parameter
NameDescription
otherListCalculatedMetricsResponse
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCalculatedMetricsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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