Class ListMetricsScopesByMonitoredProjectRequest (0.39.0)

public final class ListMetricsScopesByMonitoredProjectRequest extends GeneratedMessageV3 implements ListMetricsScopesByMonitoredProjectRequestOrBuilder

Request for the ListMetricsScopesByMonitoredProject method.

Protobuf type google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListMetricsScopesByMonitoredProjectRequest

Static Fields

MONITORED_RESOURCE_CONTAINER_FIELD_NUMBER

public static final int MONITORED_RESOURCE_CONTAINER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListMetricsScopesByMonitoredProjectRequest getDefaultInstance()
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListMetricsScopesByMonitoredProjectRequest.Builder newBuilder()
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest.Builder

newBuilder(ListMetricsScopesByMonitoredProjectRequest prototype)

public static ListMetricsScopesByMonitoredProjectRequest.Builder newBuilder(ListMetricsScopesByMonitoredProjectRequest prototype)
Parameter
Name Description
prototype ListMetricsScopesByMonitoredProjectRequest
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListMetricsScopesByMonitoredProjectRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListMetricsScopesByMonitoredProjectRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListMetricsScopesByMonitoredProjectRequest> parser()
Returns
Type Description
Parser<ListMetricsScopesByMonitoredProjectRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListMetricsScopesByMonitoredProjectRequest getDefaultInstanceForType()
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest

getMonitoredResourceContainer()

public String getMonitoredResourceContainer()

Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}

string monitored_resource_container = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The monitoredResourceContainer.

getMonitoredResourceContainerBytes()

public ByteString getMonitoredResourceContainerBytes()

Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}

string monitored_resource_container = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for monitoredResourceContainer.

getParserForType()

public Parser<ListMetricsScopesByMonitoredProjectRequest> getParserForType()
Returns
Type Description
Parser<ListMetricsScopesByMonitoredProjectRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListMetricsScopesByMonitoredProjectRequest.Builder newBuilderForType()
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListMetricsScopesByMonitoredProjectRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListMetricsScopesByMonitoredProjectRequest.Builder toBuilder()
Returns
Type Description
ListMetricsScopesByMonitoredProjectRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException