public final class ListMetricsScopesByMonitoredProjectResponse extends GeneratedMessageV3 implements ListMetricsScopesByMonitoredProjectResponseOrBuilder
Response for the ListMetricsScopesByMonitoredProject
method.
Protobuf type
google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListMetricsScopesByMonitoredProjectResponseStatic Fields
METRICS_SCOPES_FIELD_NUMBER
public static final int METRICS_SCOPES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListMetricsScopesByMonitoredProjectResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ListMetricsScopesByMonitoredProjectResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse.Builder |
newBuilder(ListMetricsScopesByMonitoredProjectResponse prototype)
public static ListMetricsScopesByMonitoredProjectResponse.Builder newBuilder(ListMetricsScopesByMonitoredProjectResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | ListMetricsScopesByMonitoredProjectResponse |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListMetricsScopesByMonitoredProjectResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListMetricsScopesByMonitoredProjectResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<ListMetricsScopesByMonitoredProjectResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ListMetricsScopesByMonitoredProjectResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse |
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 |
Returns | |
---|---|
Type | Description |
MetricsScope |
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;
Returns | |
---|---|
Type | Description |
List<MetricsScope> |
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 |
Returns | |
---|---|
Type | Description |
MetricsScopeOrBuilder |
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> |
getParserForType()
public Parser<ListMetricsScopesByMonitoredProjectResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ListMetricsScopesByMonitoredProjectResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ListMetricsScopesByMonitoredProjectResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListMetricsScopesByMonitoredProjectResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ListMetricsScopesByMonitoredProjectResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ListMetricsScopesByMonitoredProjectResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |