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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addCalculatedMetrics(CalculatedMetric value)
public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(CalculatedMetric value)
List of CalculatedMetrics.
repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;
addCalculatedMetrics(CalculatedMetric.Builder builderForValue)
public ListCalculatedMetricsResponse.Builder addCalculatedMetrics(CalculatedMetric.Builder builderForValue)
List of CalculatedMetrics.
repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;
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;
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;
addCalculatedMetricsBuilder()
public CalculatedMetric.Builder addCalculatedMetricsBuilder()
List of CalculatedMetrics.
repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCalculatedMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCalculatedMetricsResponse build()
buildPartial()
public ListCalculatedMetricsResponse buildPartial()
clear()
public ListCalculatedMetricsResponse.Builder clear()
Overrides
clearCalculatedMetrics()
public ListCalculatedMetricsResponse.Builder clearCalculatedMetrics()
List of CalculatedMetrics.
repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCalculatedMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCalculatedMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCalculatedMetricsResponse.Builder clone()
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
|
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
|
getCalculatedMetricsBuilderList()
public List<CalculatedMetric.Builder> getCalculatedMetricsBuilderList()
List of CalculatedMetrics.
repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCalculatedMetricsResponse other)
public ListCalculatedMetricsResponse.Builder mergeFrom(ListCalculatedMetricsResponse other)
public ListCalculatedMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCalculatedMetricsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCalculatedMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCalculatedMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCalculatedMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCalculatedMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides