Class ListMetricsScopesByMonitoredProjectResponse (0.25.0)

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 > ListMetricsScopesByMonitoredProjectResponse

Static Fields

METRICS_SCOPES_FIELD_NUMBER

public static final int METRICS_SCOPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListMetricsScopesByMonitoredProjectResponse getDefaultInstance()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListMetricsScopesByMonitoredProjectResponse.Builder newBuilder()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse.Builder

newBuilder(ListMetricsScopesByMonitoredProjectResponse prototype)

public static ListMetricsScopesByMonitoredProjectResponse.Builder newBuilder(ListMetricsScopesByMonitoredProjectResponse prototype)
Parameter
NameDescription
prototypeListMetricsScopesByMonitoredProjectResponse
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListMetricsScopesByMonitoredProjectResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListMetricsScopesByMonitoredProjectResponse> parser()
Returns
TypeDescription
Parser<ListMetricsScopesByMonitoredProjectResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListMetricsScopesByMonitoredProjectResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.metricsscope.v1.MetricsScopeOrBuilder>

getParserForType()

public Parser<ListMetricsScopesByMonitoredProjectResponse> getParserForType()
Returns
TypeDescription
Parser<ListMetricsScopesByMonitoredProjectResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListMetricsScopesByMonitoredProjectResponse.Builder newBuilderForType()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListMetricsScopesByMonitoredProjectResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListMetricsScopesByMonitoredProjectResponse.Builder toBuilder()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException