public static final class ListMetricsScopesByMonitoredProjectResponse.Builder extends GeneratedMessageV3.Builder<ListMetricsScopesByMonitoredProjectResponse.Builder> implements ListMetricsScopesByMonitoredProjectResponseOrBuilder
Response for the ListMetricsScopesByMonitoredProject
method.
Protobuf type
google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse
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()
Returns
Methods
addAllMetricsScopes(Iterable<? extends MetricsScope> values)
public ListMetricsScopesByMonitoredProjectResponse.Builder addAllMetricsScopes(Iterable<? extends MetricsScope> values)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.metricsscope.v1.MetricsScope>
|
Returns
addMetricsScopes(MetricsScope value)
public ListMetricsScopesByMonitoredProjectResponse.Builder addMetricsScopes(MetricsScope value)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
addMetricsScopes(MetricsScope.Builder builderForValue)
public ListMetricsScopesByMonitoredProjectResponse.Builder addMetricsScopes(MetricsScope.Builder builderForValue)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
addMetricsScopes(int index, MetricsScope value)
public ListMetricsScopesByMonitoredProjectResponse.Builder addMetricsScopes(int index, MetricsScope value)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameters
Returns
addMetricsScopes(int index, MetricsScope.Builder builderForValue)
public ListMetricsScopesByMonitoredProjectResponse.Builder addMetricsScopes(int index, MetricsScope.Builder builderForValue)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameters
Returns
addMetricsScopesBuilder()
public MetricsScope.Builder addMetricsScopesBuilder()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
addMetricsScopesBuilder(int index)
public MetricsScope.Builder addMetricsScopesBuilder(int index)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListMetricsScopesByMonitoredProjectResponse build()
Returns
buildPartial()
public ListMetricsScopesByMonitoredProjectResponse buildPartial()
Returns
clear()
public ListMetricsScopesByMonitoredProjectResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMetricsScopesByMonitoredProjectResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMetricsScopes()
public ListMetricsScopesByMonitoredProjectResponse.Builder clearMetricsScopes()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMetricsScopesByMonitoredProjectResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListMetricsScopesByMonitoredProjectResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListMetricsScopesByMonitoredProjectResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMetricsScopes(int index)
public MetricsScope getMetricsScopes(int index)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
getMetricsScopesBuilder(int index)
public MetricsScope.Builder getMetricsScopesBuilder(int index)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
getMetricsScopesBuilderList()
public List<MetricsScope.Builder> getMetricsScopesBuilderList()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
getMetricsScopesCount()
public int getMetricsScopesCount()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
getMetricsScopesList()
public List<MetricsScope> getMetricsScopesList()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
getMetricsScopesOrBuilder(int index)
public MetricsScopeOrBuilder getMetricsScopesOrBuilder(int index)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
getMetricsScopesOrBuilderList()
public List<? extends MetricsScopeOrBuilder> getMetricsScopesOrBuilderList()
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.metricsscope.v1.MetricsScopeOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListMetricsScopesByMonitoredProjectResponse other)
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(ListMetricsScopesByMonitoredProjectResponse other)
Parameter
Returns
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricsScopesByMonitoredProjectResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeMetricsScopes(int index)
public ListMetricsScopesByMonitoredProjectResponse.Builder removeMetricsScopes(int index)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMetricsScopes(int index, MetricsScope value)
public ListMetricsScopesByMonitoredProjectResponse.Builder setMetricsScopes(int index, MetricsScope value)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameters
Returns
setMetricsScopes(int index, MetricsScope.Builder builderForValue)
public ListMetricsScopesByMonitoredProjectResponse.Builder setMetricsScopes(int index, MetricsScope.Builder builderForValue)
A set of all metrics scopes that the specified monitored project has been
added to.
repeated .google.monitoring.metricsscope.v1.MetricsScope metrics_scopes = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricsScopesByMonitoredProjectResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides