public final class ListMetricDescriptorsResponse extends GeneratedMessageV3 implements ListMetricDescriptorsResponseOrBuilder
The ListMetricDescriptors
response.
Protobuf type google.monitoring.v3.ListMetricDescriptorsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
METRIC_DESCRIPTORS_FIELD_NUMBER
public static final int METRIC_DESCRIPTORS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListMetricDescriptorsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListMetricDescriptorsResponse.Builder newBuilder()
newBuilder(ListMetricDescriptorsResponse prototype)
public static ListMetricDescriptorsResponse.Builder newBuilder(ListMetricDescriptorsResponse prototype)
public static ListMetricDescriptorsResponse parseDelimitedFrom(InputStream input)
public static ListMetricDescriptorsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListMetricDescriptorsResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListMetricDescriptorsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(CodedInputStream input)
public static ListMetricDescriptorsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(InputStream input)
public static ListMetricDescriptorsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListMetricDescriptorsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListMetricDescriptorsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListMetricDescriptorsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListMetricDescriptorsResponse getDefaultInstanceForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
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 |
---|
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 |
---|
Name | Description |
index | int
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListMetricDescriptorsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListMetricDescriptorsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListMetricDescriptorsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides