Class ListMetricDescriptorsResponse (3.7.0)

public final class ListMetricDescriptorsResponse extends GeneratedMessageV3 implements ListMetricDescriptorsResponseOrBuilder

The ListMetricDescriptors response.

Protobuf type google.monitoring.v3.ListMetricDescriptorsResponse

Static Fields

METRIC_DESCRIPTORS_FIELD_NUMBER

public static final int METRIC_DESCRIPTORS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListMetricDescriptorsResponse getDefaultInstance()
Returns
TypeDescription
ListMetricDescriptorsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListMetricDescriptorsResponse prototype)

public static ListMetricDescriptorsResponse.Builder newBuilder(ListMetricDescriptorsResponse prototype)
Parameter
NameDescription
prototypeListMetricDescriptorsResponse
Returns
TypeDescription
ListMetricDescriptorsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListMetricDescriptorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMetricDescriptorsResponse

getMetricDescriptors(int index)

public MetricDescriptor getMetricDescriptors(int index)

The metric descriptors that are available to the project and that match the value of filter, if present.

repeated .google.api.MetricDescriptor metric_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.MetricDescriptor

getMetricDescriptorsCount()

public int getMetricDescriptorsCount()

The metric descriptors that are available to the project and that match the value of filter, if present.

repeated .google.api.MetricDescriptor metric_descriptors = 1;

Returns
TypeDescription
int

getMetricDescriptorsList()

public List<MetricDescriptor> getMetricDescriptorsList()

The metric descriptors that are available to the project and that match the value of filter, if present.

repeated .google.api.MetricDescriptor metric_descriptors = 1;

Returns
TypeDescription
List<com.google.api.MetricDescriptor>

getMetricDescriptorsOrBuilder(int index)

public MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index)

The metric descriptors that are available to the project and that match the value of filter, if present.

repeated .google.api.MetricDescriptor metric_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.MetricDescriptorOrBuilder

getMetricDescriptorsOrBuilderList()

public List<? extends MetricDescriptorOrBuilder> getMetricDescriptorsOrBuilderList()

The metric descriptors that are available to the project and that match the value of filter, if present.

repeated .google.api.MetricDescriptor metric_descriptors = 1;

Returns
TypeDescription
List<? extends com.google.api.MetricDescriptorOrBuilder>

getNextPageToken()

public String getNextPageToken()

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListMetricDescriptorsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListMetricDescriptorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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