public final class TimeSeries extends GeneratedMessage implements TimeSeriesOrBuilder
Represents a chronological sequence of daily values.
Protobuf type google.ads.admanager.v1.TimeSeries
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
TIME_SERIES_DATE_RANGE_FIELD_NUMBER
public static final int TIME_SERIES_DATE_RANGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TimeSeries getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TimeSeries.Builder newBuilder()
newBuilder(TimeSeries prototype)
public static TimeSeries.Builder newBuilder(TimeSeries prototype)
public static TimeSeries parseDelimitedFrom(InputStream input)
public static TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TimeSeries parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TimeSeries parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimeSeries parseFrom(CodedInputStream input)
public static TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimeSeries parseFrom(InputStream input)
public static TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TimeSeries parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TimeSeries> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public TimeSeries getDefaultInstanceForType()
getParserForType()
public Parser<TimeSeries> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTimeSeriesDateRange()
public DateRange getTimeSeriesDateRange()
The date range of the time series.
.google.ads.admanager.v1.DateRange time_series_date_range = 1;
| Returns |
| Type |
Description |
DateRange |
The timeSeriesDateRange.
|
getTimeSeriesDateRangeOrBuilder()
public DateRangeOrBuilder getTimeSeriesDateRangeOrBuilder()
The date range of the time series.
.google.ads.admanager.v1.DateRange time_series_date_range = 1;
getValues(int index)
public long getValues(int index)
The daily values constituting the time series.
The number of time series values must equal the number of days spanned by
the time series date range, inclusive. For example, a timeSeriesDateRange
of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for
the 16th, and one value for the 17th.
repeated int64 values = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
long |
The values at the given index.
|
getValuesCount()
public int getValuesCount()
The daily values constituting the time series.
The number of time series values must equal the number of days spanned by
the time series date range, inclusive. For example, a timeSeriesDateRange
of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for
the 16th, and one value for the 17th.
repeated int64 values = 2;
| Returns |
| Type |
Description |
int |
The count of values.
|
getValuesList()
public List<Long> getValuesList()
The daily values constituting the time series.
The number of time series values must equal the number of days spanned by
the time series date range, inclusive. For example, a timeSeriesDateRange
of 2001-08-15 to 2001-08-17 contains one value for the 15th, one value for
the 16th, and one value for the 17th.
repeated int64 values = 2;
| Returns |
| Type |
Description |
List<Long> |
A list containing the values.
|
hasTimeSeriesDateRange()
public boolean hasTimeSeriesDateRange()
The date range of the time series.
.google.ads.admanager.v1.DateRange time_series_date_range = 1;
| Returns |
| Type |
Description |
boolean |
Whether the timeSeriesDateRange field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TimeSeries.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TimeSeries.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public TimeSeries.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides