public static final class ListLogMetricsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder> implements ListLogMetricsResponseOrBuilder
Result returned from ListLogMetrics.Protobuf type
google.logging.v2.ListLogMetricsResponse
Modifier and Type | Method and Description |
---|---|
ListLogMetricsResponse.Builder |
addAllMetrics(Iterable<? extends LogMetric> values)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
addMetrics(int index,
LogMetric.Builder builderForValue)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
addMetrics(int index,
LogMetric value)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
addMetrics(LogMetric.Builder builderForValue)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
addMetrics(LogMetric value)
A list of logs-based metrics.
|
LogMetric.Builder |
addMetricsBuilder()
A list of logs-based metrics.
|
LogMetric.Builder |
addMetricsBuilder(int index)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLogMetricsResponse |
build() |
ListLogMetricsResponse |
buildPartial() |
ListLogMetricsResponse.Builder |
clear() |
ListLogMetricsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListLogMetricsResponse.Builder |
clearMetrics()
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
clearNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListLogMetricsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListLogMetricsResponse.Builder |
clone() |
ListLogMetricsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LogMetric |
getMetrics(int index)
A list of logs-based metrics.
|
LogMetric.Builder |
getMetricsBuilder(int index)
A list of logs-based metrics.
|
List<LogMetric.Builder> |
getMetricsBuilderList()
A list of logs-based metrics.
|
int |
getMetricsCount()
A list of logs-based metrics.
|
List<LogMetric> |
getMetricsList()
A list of logs-based metrics.
|
LogMetricOrBuilder |
getMetricsOrBuilder(int index)
A list of logs-based metrics.
|
List<? extends LogMetricOrBuilder> |
getMetricsOrBuilderList()
A list of logs-based metrics.
|
String |
getNextPageToken()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListLogMetricsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListLogMetricsResponse.Builder |
mergeFrom(ListLogMetricsResponse other) |
ListLogMetricsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListLogMetricsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListLogMetricsResponse.Builder |
removeMetrics(int index)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLogMetricsResponse.Builder |
setMetrics(int index,
LogMetric.Builder builderForValue)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
setMetrics(int index,
LogMetric value)
A list of logs-based metrics.
|
ListLogMetricsResponse.Builder |
setNextPageToken(String value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListLogMetricsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If there might be more results than appear in this response, then
`nextPageToken` is included.
|
ListLogMetricsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListLogMetricsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListLogMetricsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListLogMetricsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListLogMetricsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(ListLogMetricsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListLogMetricsResponse.Builder>
IOException
public List<LogMetric> getMetricsList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
getMetricsList
in interface ListLogMetricsResponseOrBuilder
public int getMetricsCount()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
getMetricsCount
in interface ListLogMetricsResponseOrBuilder
public LogMetric getMetrics(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
getMetrics
in interface ListLogMetricsResponseOrBuilder
public ListLogMetricsResponse.Builder setMetrics(int index, LogMetric value)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder setMetrics(int index, LogMetric.Builder builderForValue)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder addMetrics(LogMetric value)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder addMetrics(int index, LogMetric value)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder addMetrics(LogMetric.Builder builderForValue)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder addMetrics(int index, LogMetric.Builder builderForValue)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder addAllMetrics(Iterable<? extends LogMetric> values)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder clearMetrics()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public ListLogMetricsResponse.Builder removeMetrics(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public LogMetric.Builder getMetricsBuilder(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public LogMetricOrBuilder getMetricsOrBuilder(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
getMetricsOrBuilder
in interface ListLogMetricsResponseOrBuilder
public List<? extends LogMetricOrBuilder> getMetricsOrBuilderList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
getMetricsOrBuilderList
in interface ListLogMetricsResponseOrBuilder
public LogMetric.Builder addMetricsBuilder()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public LogMetric.Builder addMetricsBuilder(int index)
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public List<LogMetric.Builder> getMetricsBuilderList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
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;
getNextPageToken
in interface ListLogMetricsResponseOrBuilder
public com.google.protobuf.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;
getNextPageTokenBytes
in interface ListLogMetricsResponseOrBuilder
public ListLogMetricsResponse.Builder setNextPageToken(String value)
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;
value
- The nextPageToken to set.public ListLogMetricsResponse.Builder clearNextPageToken()
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;
public ListLogMetricsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for nextPageToken to set.public final ListLogMetricsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public final ListLogMetricsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.