Class RunTrafficDataResponse (0.62.0)

public final class RunTrafficDataResponse extends GeneratedMessage implements RunTrafficDataResponseOrBuilder

Response object for RunTrafficData method.

Protobuf type google.ads.admanager.v1.RunTrafficDataResponse

Static Fields

FORECASTED_ASSIGNED_TIME_SERIES_FIELD_NUMBER

public static final int FORECASTED_ASSIGNED_TIME_SERIES_FIELD_NUMBER
Field Value
Type Description
int

FORECASTED_TIME_SERIES_FIELD_NUMBER

public static final int FORECASTED_TIME_SERIES_FIELD_NUMBER
Field Value
Type Description
int

HISTORICAL_TIME_SERIES_FIELD_NUMBER

public static final int HISTORICAL_TIME_SERIES_FIELD_NUMBER
Field Value
Type Description
int

OVERALL_DATE_RANGE_FIELD_NUMBER

public static final int OVERALL_DATE_RANGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunTrafficDataResponse getDefaultInstance()
Returns
Type Description
RunTrafficDataResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RunTrafficDataResponse.Builder newBuilder()
Returns
Type Description
RunTrafficDataResponse.Builder

newBuilder(RunTrafficDataResponse prototype)

public static RunTrafficDataResponse.Builder newBuilder(RunTrafficDataResponse prototype)
Parameter
Name Description
prototype RunTrafficDataResponse
Returns
Type Description
RunTrafficDataResponse.Builder

parseDelimitedFrom(InputStream input)

public static RunTrafficDataResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunTrafficDataResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunTrafficDataResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunTrafficDataResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunTrafficDataResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunTrafficDataResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunTrafficDataResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunTrafficDataResponse> parser()
Returns
Type Description
Parser<RunTrafficDataResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RunTrafficDataResponse getDefaultInstanceForType()
Returns
Type Description
RunTrafficDataResponse

getForecastedAssignedTimeSeries()

public TimeSeries getForecastedAssignedTimeSeries()

Time series of future traffic volumes forecasted to be sold.

This may be null if the requested date range did not contain any future dates, or if no sell-through data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_assigned_time_series = 3;

Returns
Type Description
TimeSeries

The forecastedAssignedTimeSeries.

getForecastedAssignedTimeSeriesOrBuilder()

public TimeSeriesOrBuilder getForecastedAssignedTimeSeriesOrBuilder()

Time series of future traffic volumes forecasted to be sold.

This may be null if the requested date range did not contain any future dates, or if no sell-through data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_assigned_time_series = 3;

Returns
Type Description
TimeSeriesOrBuilder

getForecastedTimeSeries()

public TimeSeries getForecastedTimeSeries()

Time series of forecasted traffic ad opportunity counts.

This may be null if the requested date range did not contain any future dates, or if no forecasted data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_time_series = 2;

Returns
Type Description
TimeSeries

The forecastedTimeSeries.

getForecastedTimeSeriesOrBuilder()

public TimeSeriesOrBuilder getForecastedTimeSeriesOrBuilder()

Time series of forecasted traffic ad opportunity counts.

This may be null if the requested date range did not contain any future dates, or if no forecasted data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_time_series = 2;

Returns
Type Description
TimeSeriesOrBuilder

getHistoricalTimeSeries()

public TimeSeries getHistoricalTimeSeries()

Time series of historical traffic ad opportunity counts.

This may be null if the requested date range did not contain any historical dates, or if no historical data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries historical_time_series = 1;

Returns
Type Description
TimeSeries

The historicalTimeSeries.

getHistoricalTimeSeriesOrBuilder()

public TimeSeriesOrBuilder getHistoricalTimeSeriesOrBuilder()

Time series of historical traffic ad opportunity counts.

This may be null if the requested date range did not contain any historical dates, or if no historical data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries historical_time_series = 1;

Returns
Type Description
TimeSeriesOrBuilder

getOverallDateRange()

public DateRange getOverallDateRange()

The overall date range spanned by the union of all time series in the response.

This is a summary field for convenience. The value will be set such that the start date is equal to the earliest start date of all time series included, and the end date is equal to the latest end date of all time series included.

If all time series fields are null, this field will also be null.

.google.ads.admanager.v1.DateRange overall_date_range = 4;

Returns
Type Description
DateRange

The overallDateRange.

getOverallDateRangeOrBuilder()

public DateRangeOrBuilder getOverallDateRangeOrBuilder()

The overall date range spanned by the union of all time series in the response.

This is a summary field for convenience. The value will be set such that the start date is equal to the earliest start date of all time series included, and the end date is equal to the latest end date of all time series included.

If all time series fields are null, this field will also be null.

.google.ads.admanager.v1.DateRange overall_date_range = 4;

Returns
Type Description
DateRangeOrBuilder

getParserForType()

public Parser<RunTrafficDataResponse> getParserForType()
Returns
Type Description
Parser<RunTrafficDataResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasForecastedAssignedTimeSeries()

public boolean hasForecastedAssignedTimeSeries()

Time series of future traffic volumes forecasted to be sold.

This may be null if the requested date range did not contain any future dates, or if no sell-through data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_assigned_time_series = 3;

Returns
Type Description
boolean

Whether the forecastedAssignedTimeSeries field is set.

hasForecastedTimeSeries()

public boolean hasForecastedTimeSeries()

Time series of forecasted traffic ad opportunity counts.

This may be null if the requested date range did not contain any future dates, or if no forecasted data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries forecasted_time_series = 2;

Returns
Type Description
boolean

Whether the forecastedTimeSeries field is set.

hasHistoricalTimeSeries()

public boolean hasHistoricalTimeSeries()

Time series of historical traffic ad opportunity counts.

This may be null if the requested date range did not contain any historical dates, or if no historical data are available for the requested traffic segment.

.google.ads.admanager.v1.TimeSeries historical_time_series = 1;

Returns
Type Description
boolean

Whether the historicalTimeSeries field is set.

hasOverallDateRange()

public boolean hasOverallDateRange()

The overall date range spanned by the union of all time series in the response.

This is a summary field for convenience. The value will be set such that the start date is equal to the earliest start date of all time series included, and the end date is equal to the latest end date of all time series included.

If all time series fields are null, this field will also be null.

.google.ads.admanager.v1.DateRange overall_date_range = 4;

Returns
Type Description
boolean

Whether the overallDateRange field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunTrafficDataResponse.Builder newBuilderForType()
Returns
Type Description
RunTrafficDataResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RunTrafficDataResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunTrafficDataResponse.Builder
Overrides

toBuilder()

public RunTrafficDataResponse.Builder toBuilder()
Returns
Type Description
RunTrafficDataResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException