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
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListMetricDescriptorsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListMetricDescriptorsResponse.Builder newBuilder()
Returns
newBuilder(ListMetricDescriptorsResponse prototype)
public static ListMetricDescriptorsResponse.Builder newBuilder(ListMetricDescriptorsResponse prototype)
Parameter
Returns
public static ListMetricDescriptorsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListMetricDescriptorsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListMetricDescriptorsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListMetricDescriptorsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListMetricDescriptorsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListMetricDescriptorsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListMetricDescriptorsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListMetricDescriptorsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListMetricDescriptorsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListMetricDescriptorsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListMetricDescriptorsResponse getDefaultInstanceForType()
Returns
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
Returns
Type | Description |
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
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
Type | Description |
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
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListMetricDescriptorsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListMetricDescriptorsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListMetricDescriptorsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListMetricDescriptorsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions