public static final class ListLogMetricsResponse.Builder extends GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder> implements ListLogMetricsResponseOrBuilder
Result returned from ListLogMetrics.Protobuf type
google.logging.v2.ListLogMetricsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListLogMetricsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListLogMetricsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListLogMetricsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(ListLogMetricsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public ListLogMetricsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListLogMetricsResponse.Builder>
java.io.IOException
public java.util.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(java.lang.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 java.util.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 java.util.List<LogMetric.Builder> getMetricsBuilderList()
A list of logs-based metrics.
repeated .google.logging.v2.LogMetric metrics = 1;
public java.lang.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 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(java.lang.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;
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(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;
public final ListLogMetricsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>
public final ListLogMetricsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListLogMetricsResponse.Builder>