public static final class ListCustomMetricsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomMetricsResponse.Builder> implements ListCustomMetricsResponseOrBuilder
Response message for ListCustomMetrics RPC.
Protobuf type google.analytics.admin.v1beta.ListCustomMetricsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
addAllCustomMetrics(Iterable<? extends CustomMetric> values)
public ListCustomMetricsResponse.Builder addAllCustomMetrics(Iterable<? extends CustomMetric> values)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1beta.CustomMetric>
|
addCustomMetrics(CustomMetric value)
public ListCustomMetricsResponse.Builder addCustomMetrics(CustomMetric value)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
addCustomMetrics(CustomMetric.Builder builderForValue)
public ListCustomMetricsResponse.Builder addCustomMetrics(CustomMetric.Builder builderForValue)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
addCustomMetrics(int index, CustomMetric value)
public ListCustomMetricsResponse.Builder addCustomMetrics(int index, CustomMetric value)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
addCustomMetrics(int index, CustomMetric.Builder builderForValue)
public ListCustomMetricsResponse.Builder addCustomMetrics(int index, CustomMetric.Builder builderForValue)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
addCustomMetricsBuilder()
public CustomMetric.Builder addCustomMetricsBuilder()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
addCustomMetricsBuilder(int index)
public CustomMetric.Builder addCustomMetricsBuilder(int index)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCustomMetricsResponse build()
buildPartial()
public ListCustomMetricsResponse buildPartial()
clear()
public ListCustomMetricsResponse.Builder clear()
Overrides
clearCustomMetrics()
public ListCustomMetricsResponse.Builder clearCustomMetrics()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCustomMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListCustomMetricsResponse.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 ListCustomMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCustomMetricsResponse.Builder clone()
Overrides
getCustomMetrics(int index)
public CustomMetric getCustomMetrics(int index)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
getCustomMetricsBuilder(int index)
public CustomMetric.Builder getCustomMetricsBuilder(int index)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
getCustomMetricsBuilderList()
public List<CustomMetric.Builder> getCustomMetricsBuilderList()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
getCustomMetricsCount()
public int getCustomMetricsCount()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Returns |
---|
Type | Description |
int | |
getCustomMetricsList()
public List<CustomMetric> getCustomMetricsList()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
getCustomMetricsOrBuilder(int index)
public CustomMetricOrBuilder getCustomMetricsOrBuilder(int index)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
getCustomMetricsOrBuilderList()
public List<? extends CustomMetricOrBuilder> getCustomMetricsOrBuilderList()
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Returns |
---|
Type | Description |
List<? extends com.google.analytics.admin.v1beta.CustomMetricOrBuilder> | |
getDefaultInstanceForType()
public ListCustomMetricsResponse 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(ListCustomMetricsResponse other)
public ListCustomMetricsResponse.Builder mergeFrom(ListCustomMetricsResponse other)
public ListCustomMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCustomMetricsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeCustomMetrics(int index)
public ListCustomMetricsResponse.Builder removeCustomMetrics(int index)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
setCustomMetrics(int index, CustomMetric value)
public ListCustomMetricsResponse.Builder setCustomMetrics(int index, CustomMetric value)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
setCustomMetrics(int index, CustomMetric.Builder builderForValue)
public ListCustomMetricsResponse.Builder setCustomMetrics(int index, CustomMetric.Builder builderForValue)
List of CustomMetrics.
repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListCustomMetricsResponse.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 ListCustomMetricsResponse.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 ListCustomMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides