public static final class ListTimeSeriesRequest.Builder extends GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder> implements ListTimeSeriesRequestOrBuilder
The `ListTimeSeries` request.Protobuf type
google.monitoring.v3.ListTimeSeriesRequest| Modifier and Type | Method and Description |
|---|---|
ListTimeSeriesRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTimeSeriesRequest |
build() |
ListTimeSeriesRequest |
buildPartial() |
ListTimeSeriesRequest.Builder |
clear() |
ListTimeSeriesRequest.Builder |
clearAggregation()
By default, the raw time series data is returned.
|
ListTimeSeriesRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListTimeSeriesRequest.Builder |
clearFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
ListTimeSeriesRequest.Builder |
clearInterval()
The time interval for which results should be returned.
|
ListTimeSeriesRequest.Builder |
clearName()
The project on which to execute the request.
|
ListTimeSeriesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListTimeSeriesRequest.Builder |
clearOrderBy()
Specifies the order in which the points of the time series should
be returned.
|
ListTimeSeriesRequest.Builder |
clearPageSize()
A positive number that is the maximum number of results to return.
|
ListTimeSeriesRequest.Builder |
clearPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListTimeSeriesRequest.Builder |
clearView()
Specifies which information is returned about the time series.
|
ListTimeSeriesRequest.Builder |
clone() |
Aggregation |
getAggregation()
By default, the raw time series data is returned.
|
Aggregation.Builder |
getAggregationBuilder()
By default, the raw time series data is returned.
|
AggregationOrBuilder |
getAggregationOrBuilder()
By default, the raw time series data is returned.
|
ListTimeSeriesRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
ByteString |
getFilterBytes()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
TimeInterval |
getInterval()
The time interval for which results should be returned.
|
TimeInterval.Builder |
getIntervalBuilder()
The time interval for which results should be returned.
|
TimeIntervalOrBuilder |
getIntervalOrBuilder()
The time interval for which results should be returned.
|
java.lang.String |
getName()
The project on which to execute the request.
|
ByteString |
getNameBytes()
The project on which to execute the request.
|
java.lang.String |
getOrderBy()
Specifies the order in which the points of the time series should
be returned.
|
ByteString |
getOrderByBytes()
Specifies the order in which the points of the time series should
be returned.
|
int |
getPageSize()
A positive number that is the maximum number of results to return.
|
java.lang.String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListTimeSeriesRequest.TimeSeriesView |
getView()
Specifies which information is returned about the time series.
|
int |
getViewValue()
Specifies which information is returned about the time series.
|
boolean |
hasAggregation()
By default, the raw time series data is returned.
|
boolean |
hasInterval()
The time interval for which results should be returned.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTimeSeriesRequest.Builder |
mergeAggregation(Aggregation value)
By default, the raw time series data is returned.
|
ListTimeSeriesRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTimeSeriesRequest.Builder |
mergeFrom(ListTimeSeriesRequest other) |
ListTimeSeriesRequest.Builder |
mergeFrom(Message other) |
ListTimeSeriesRequest.Builder |
mergeInterval(TimeInterval value)
The time interval for which results should be returned.
|
ListTimeSeriesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTimeSeriesRequest.Builder |
setAggregation(Aggregation.Builder builderForValue)
By default, the raw time series data is returned.
|
ListTimeSeriesRequest.Builder |
setAggregation(Aggregation value)
By default, the raw time series data is returned.
|
ListTimeSeriesRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTimeSeriesRequest.Builder |
setFilter(java.lang.String value)
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
ListTimeSeriesRequest.Builder |
setFilterBytes(ByteString value)
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
ListTimeSeriesRequest.Builder |
setInterval(TimeInterval.Builder builderForValue)
The time interval for which results should be returned.
|
ListTimeSeriesRequest.Builder |
setInterval(TimeInterval value)
The time interval for which results should be returned.
|
ListTimeSeriesRequest.Builder |
setName(java.lang.String value)
The project on which to execute the request.
|
ListTimeSeriesRequest.Builder |
setNameBytes(ByteString value)
The project on which to execute the request.
|
ListTimeSeriesRequest.Builder |
setOrderBy(java.lang.String value)
Specifies the order in which the points of the time series should
be returned.
|
ListTimeSeriesRequest.Builder |
setOrderByBytes(ByteString value)
Specifies the order in which the points of the time series should
be returned.
|
ListTimeSeriesRequest.Builder |
setPageSize(int value)
A positive number that is the maximum number of results to return.
|
ListTimeSeriesRequest.Builder |
setPageToken(java.lang.String value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListTimeSeriesRequest.Builder |
setPageTokenBytes(ByteString value)
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ListTimeSeriesRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListTimeSeriesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ListTimeSeriesRequest.Builder |
setView(ListTimeSeriesRequest.TimeSeriesView value)
Specifies which information is returned about the time series.
|
ListTimeSeriesRequest.Builder |
setViewValue(int value)
Specifies which information is returned about the time series.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListTimeSeriesRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListTimeSeriesRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListTimeSeriesRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder mergeFrom(ListTimeSeriesRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public ListTimeSeriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListTimeSeriesRequest.Builder>java.io.IOExceptionpublic java.lang.String getName()
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;getName in interface ListTimeSeriesRequestOrBuilderpublic ByteString getNameBytes()
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;getNameBytes in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setName(java.lang.String value)
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;public ListTimeSeriesRequest.Builder clearName()
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;public ListTimeSeriesRequest.Builder setNameBytes(ByteString value)
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;public java.lang.String getFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;getFilter in interface ListTimeSeriesRequestOrBuilderpublic ByteString getFilterBytes()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;getFilterBytes in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setFilter(java.lang.String value)
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;public ListTimeSeriesRequest.Builder clearFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;public ListTimeSeriesRequest.Builder setFilterBytes(ByteString value)
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;public boolean hasInterval()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;hasInterval in interface ListTimeSeriesRequestOrBuilderpublic TimeInterval getInterval()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;getInterval in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setInterval(TimeInterval value)
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;public ListTimeSeriesRequest.Builder setInterval(TimeInterval.Builder builderForValue)
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;public ListTimeSeriesRequest.Builder mergeInterval(TimeInterval value)
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;public ListTimeSeriesRequest.Builder clearInterval()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;public TimeInterval.Builder getIntervalBuilder()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;public TimeIntervalOrBuilder getIntervalOrBuilder()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;getIntervalOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic boolean hasAggregation()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;hasAggregation in interface ListTimeSeriesRequestOrBuilderpublic Aggregation getAggregation()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregation in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setAggregation(Aggregation value)
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;public ListTimeSeriesRequest.Builder setAggregation(Aggregation.Builder builderForValue)
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;public ListTimeSeriesRequest.Builder mergeAggregation(Aggregation value)
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;public ListTimeSeriesRequest.Builder clearAggregation()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;public Aggregation.Builder getAggregationBuilder()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;public AggregationOrBuilder getAggregationOrBuilder()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregationOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic java.lang.String getOrderBy()
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;getOrderBy in interface ListTimeSeriesRequestOrBuilderpublic ByteString getOrderByBytes()
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;getOrderByBytes in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setOrderBy(java.lang.String value)
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;public ListTimeSeriesRequest.Builder clearOrderBy()
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;public ListTimeSeriesRequest.Builder setOrderByBytes(ByteString value)
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;public int getViewValue()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;getViewValue in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setViewValue(int value)
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;public ListTimeSeriesRequest.TimeSeriesView getView()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;getView in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setView(ListTimeSeriesRequest.TimeSeriesView value)
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;public ListTimeSeriesRequest.Builder clearView()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;public int getPageSize()
A positive number that is the maximum number of results to return. When `view` field sets to `FULL`, it limits the number of `Points` server will return; if `view` field is `HEADERS`, it limits the number of `TimeSeries` server will return.
int32 page_size = 8;getPageSize in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setPageSize(int value)
A positive number that is the maximum number of results to return. When `view` field sets to `FULL`, it limits the number of `Points` server will return; if `view` field is `HEADERS`, it limits the number of `TimeSeries` server will return.
int32 page_size = 8;public ListTimeSeriesRequest.Builder clearPageSize()
A positive number that is the maximum number of results to return. When `view` field sets to `FULL`, it limits the number of `Points` server will return; if `view` field is `HEADERS`, it limits the number of `TimeSeries` server will return.
int32 page_size = 8;public java.lang.String getPageToken()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;getPageToken in interface ListTimeSeriesRequestOrBuilderpublic ByteString getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;getPageTokenBytes in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.Builder setPageToken(java.lang.String value)
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;public ListTimeSeriesRequest.Builder clearPageToken()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;public ListTimeSeriesRequest.Builder setPageTokenBytes(ByteString value)
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;public final ListTimeSeriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>public final ListTimeSeriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>