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.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
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListMetricsScopesByMonitoredProjectResponse build()
buildPartial()
public ListMetricsScopesByMonitoredProjectResponse buildPartial()
clear()
public ListMetricsScopesByMonitoredProjectResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMetricsScopesByMonitoredProjectResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMetricsScopesByMonitoredProjectResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListMetricsScopesByMonitoredProjectResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListMetricsScopesByMonitoredProjectResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListMetricsScopesByMonitoredProjectResponse other)
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(ListMetricsScopesByMonitoredProjectResponse other)
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListMetricsScopesByMonitoredProjectResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricsScopesByMonitoredProjectResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMetricsScopesByMonitoredProjectResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricsScopesByMonitoredProjectResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides