- 1.85.0 (latest)
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public static final class MetricValueSet.Builder extends GeneratedMessage.Builder<MetricValueSet.Builder> implements MetricValueSetOrBuilderRepresents a set of metric values in the same metric. Each metric value in the set should have a unique combination of start time, end time, and label values.
Protobuf type google.api.servicecontrol.v1.MetricValueSet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MetricValueSet.BuilderImplements
MetricValueSetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMetricValues(Iterable<? extends MetricValue> values)
public MetricValueSet.Builder addAllMetricValues(Iterable<? extends MetricValue> values)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.api.servicecontrol.v1.MetricValue> |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
addMetricValues(MetricValue value)
public MetricValueSet.Builder addMetricValues(MetricValue value)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MetricValue |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
addMetricValues(MetricValue.Builder builderForValue)
public MetricValueSet.Builder addMetricValues(MetricValue.Builder builderForValue)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MetricValue.Builder |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
addMetricValues(int index, MetricValue value)
public MetricValueSet.Builder addMetricValues(int index, MetricValue value)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MetricValue |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
addMetricValues(int index, MetricValue.Builder builderForValue)
public MetricValueSet.Builder addMetricValues(int index, MetricValue.Builder builderForValue)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MetricValue.Builder |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
addMetricValuesBuilder()
public MetricValue.Builder addMetricValuesBuilder()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
MetricValue.Builder |
|
addMetricValuesBuilder(int index)
public MetricValue.Builder addMetricValuesBuilder(int index)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetricValue.Builder |
|
build()
public MetricValueSet build()| Returns | |
|---|---|
| Type | Description |
MetricValueSet |
|
buildPartial()
public MetricValueSet buildPartial()| Returns | |
|---|---|
| Type | Description |
MetricValueSet |
|
clear()
public MetricValueSet.Builder clear()| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
clearMetricName()
public MetricValueSet.Builder clearMetricName()The metric name defined in the service configuration.
string metric_name = 1;
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
This builder for chaining. |
clearMetricValues()
public MetricValueSet.Builder clearMetricValues()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
getDefaultInstanceForType()
public MetricValueSet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MetricValueSet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetricName()
public String getMetricName()The metric name defined in the service configuration.
string metric_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The metricName. |
getMetricNameBytes()
public ByteString getMetricNameBytes()The metric name defined in the service configuration.
string metric_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for metricName. |
getMetricValues(int index)
public MetricValue getMetricValues(int index)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetricValue |
|
getMetricValuesBuilder(int index)
public MetricValue.Builder getMetricValuesBuilder(int index)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetricValue.Builder |
|
getMetricValuesBuilderList()
public List<MetricValue.Builder> getMetricValuesBuilderList()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getMetricValuesCount()
public int getMetricValuesCount()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMetricValuesList()
public List<MetricValue> getMetricValuesList()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
List<MetricValue> |
|
getMetricValuesOrBuilder(int index)
public MetricValueOrBuilder getMetricValuesOrBuilder(int index)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetricValueOrBuilder |
|
getMetricValuesOrBuilderList()
public List<? extends MetricValueOrBuilder> getMetricValuesOrBuilderList()The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.api.servicecontrol.v1.MetricValueOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MetricValueSet other)
public MetricValueSet.Builder mergeFrom(MetricValueSet other)| Parameter | |
|---|---|
| Name | Description |
other |
MetricValueSet |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetricValueSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MetricValueSet.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
removeMetricValues(int index)
public MetricValueSet.Builder removeMetricValues(int index)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
setMetricName(String value)
public MetricValueSet.Builder setMetricName(String value)The metric name defined in the service configuration.
string metric_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe metricName to set. |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
This builder for chaining. |
setMetricNameBytes(ByteString value)
public MetricValueSet.Builder setMetricNameBytes(ByteString value)The metric name defined in the service configuration.
string metric_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for metricName to set. |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
This builder for chaining. |
setMetricValues(int index, MetricValue value)
public MetricValueSet.Builder setMetricValues(int index, MetricValue value)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MetricValue |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|
setMetricValues(int index, MetricValue.Builder builderForValue)
public MetricValueSet.Builder setMetricValues(int index, MetricValue.Builder builderForValue)The values in this metric.
repeated .google.api.servicecontrol.v1.MetricValue metric_values = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MetricValue.Builder |
| Returns | |
|---|---|
| Type | Description |
MetricValueSet.Builder |
|