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, 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<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTimeSeriesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTimeSeriesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTimeSeriesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.Builder mergeFrom(ListTimeSeriesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public ListTimeSeriesRequest.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<ListTimeSeriesRequest.Builder>
java.io.IOException
public 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 ListTimeSeriesRequestOrBuilder
public ByteString getNameBytes()
The project on which to execute the request. The format is "projects/{project_id_or_number}".
string name = 10;
getNameBytes
in interface ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>
public final ListTimeSeriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTimeSeriesRequest.Builder>