Class ListMetricsScopesByMonitoredProjectRequest (0.28.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListMetricsScopesByMonitoredProjectRequest getDefaultInstance()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ListMetricsScopesByMonitoredProjectRequest prototype)

public static ListMetricsScopesByMonitoredProjectRequest.Builder newBuilder(ListMetricsScopesByMonitoredProjectRequest prototype)
Parameter
NameDescription
prototypeListMetricsScopesByMonitoredProjectRequest
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListMetricsScopesByMonitoredProjectRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for monitoredResourceContainer.

getParserForType()

public Parser<ListMetricsScopesByMonitoredProjectRequest> getParserForType()
Returns
TypeDescription
Parser<ListMetricsScopesByMonitoredProjectRequest>
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 ListMetricsScopesByMonitoredProjectRequest.Builder newBuilderForType()
Returns
TypeDescription
ListMetricsScopesByMonitoredProjectRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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