public final class ListLogMetricsResponse extends GeneratedMessageV3 implements ListLogMetricsResponseOrBuilder
Result returned from ListLogMetrics.
Protobuf type google.logging.v2.ListLogMetricsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListLogMetricsResponseImplements
ListLogMetricsResponseOrBuilderFields
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Type | Description |
int |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static ListLogMetricsResponse getDefaultInstance()
Type | Description |
ListLogMetricsResponse |
getDefaultInstanceForType()
public ListLogMetricsResponse getDefaultInstanceForType()
Type | Description |
ListLogMetricsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getMetrics(int index)
public LogMetric getMetrics(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
Name | Description |
index | int |
Type | Description |
LogMetric |
getMetricsCount()
public int getMetricsCount()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
Type | Description |
int |
getMetricsList()
public List<LogMetric> getMetricsList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
Type | Description |
List<LogMetric> |
getMetricsOrBuilder(int index)
public LogMetricOrBuilder getMetricsOrBuilder(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
Name | Description |
index | int |
Type | Description |
LogMetricOrBuilder |
getMetricsOrBuilderList()
public List<? extends LogMetricOrBuilder> getMetricsOrBuilderList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
Type | Description |
List<? extends com.google.logging.v2.LogMetricOrBuilder> |
getNextPageToken()
public String getNextPageToken()
If there might be more results than appear in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there might be more results than appear in this response, then
nextPageToken
is included. To get the next set of results, call this
method again using the value of nextPageToken
as pageToken
.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListLogMetricsResponse> getParserForType()
Type | Description |
Parser<ListLogMetricsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ListLogMetricsResponse.Builder newBuilder()
Type | Description |
ListLogMetricsResponse.Builder |
newBuilder(ListLogMetricsResponse prototype)
public static ListLogMetricsResponse.Builder newBuilder(ListLogMetricsResponse prototype)
Name | Description |
prototype | ListLogMetricsResponse |
Type | Description |
ListLogMetricsResponse.Builder |
newBuilderForType()
public ListLogMetricsResponse.Builder newBuilderForType()
Type | Description |
ListLogMetricsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListLogMetricsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListLogMetricsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ListLogMetricsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListLogMetricsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListLogMetricsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListLogMetricsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListLogMetricsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListLogMetricsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListLogMetricsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogMetricsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListLogMetricsResponse> parser()
Type | Description |
Parser<ListLogMetricsResponse> |
toBuilder()
public ListLogMetricsResponse.Builder toBuilder()
Type | Description |
ListLogMetricsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |