Class RunTrafficDataResponse.Builder (0.62.0)

public static final class RunTrafficDataResponse.Builder extends GeneratedMessage.Builder<RunTrafficDataResponse.Builder> implements RunTrafficDataResponseOrBuilder

Response object for RunTrafficData method.

Protobuf type google.ads.admanager.v1.RunTrafficDataResponse

Static Methods

getDescriptor()

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

Methods

build()

public RunTrafficDataResponse build()
Returns
Type Description
RunTrafficDataResponse

buildPartial()

public RunTrafficDataResponse buildPartial()
Returns
Type Description
RunTrafficDataResponse

clear()

public RunTrafficDataResponse.Builder clear()
Returns
Type Description
RunTrafficDataResponse.Builder
Overrides

clearForecastedAssignedTimeSeries()

public RunTrafficDataResponse.Builder clearForecastedAssignedTimeSeries()

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
RunTrafficDataResponse.Builder

clearForecastedTimeSeries()

public RunTrafficDataResponse.Builder clearForecastedTimeSeries()

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
RunTrafficDataResponse.Builder

clearHistoricalTimeSeries()

public RunTrafficDataResponse.Builder clearHistoricalTimeSeries()

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
RunTrafficDataResponse.Builder

clearOverallDateRange()

public RunTrafficDataResponse.Builder clearOverallDateRange()

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
RunTrafficDataResponse.Builder

getDefaultInstanceForType()

public RunTrafficDataResponse getDefaultInstanceForType()
Returns
Type Description
RunTrafficDataResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getForecastedAssignedTimeSeriesBuilder()

public TimeSeries.Builder getForecastedAssignedTimeSeriesBuilder()

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.Builder

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.

getForecastedTimeSeriesBuilder()

public TimeSeries.Builder getForecastedTimeSeriesBuilder()

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.Builder

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.

getHistoricalTimeSeriesBuilder()

public TimeSeries.Builder getHistoricalTimeSeriesBuilder()

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.Builder

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.

getOverallDateRangeBuilder()

public DateRange.Builder getOverallDateRangeBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeForecastedAssignedTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder mergeForecastedAssignedTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

mergeForecastedTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder mergeForecastedTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

mergeFrom(RunTrafficDataResponse other)

public RunTrafficDataResponse.Builder mergeFrom(RunTrafficDataResponse other)
Parameter
Name Description
other RunTrafficDataResponse
Returns
Type Description
RunTrafficDataResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunTrafficDataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunTrafficDataResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RunTrafficDataResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RunTrafficDataResponse.Builder
Overrides

mergeHistoricalTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder mergeHistoricalTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

mergeOverallDateRange(DateRange value)

public RunTrafficDataResponse.Builder mergeOverallDateRange(DateRange value)

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;

Parameter
Name Description
value DateRange
Returns
Type Description
RunTrafficDataResponse.Builder

setForecastedAssignedTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder setForecastedAssignedTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

setForecastedAssignedTimeSeries(TimeSeries.Builder builderForValue)

public RunTrafficDataResponse.Builder setForecastedAssignedTimeSeries(TimeSeries.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TimeSeries.Builder
Returns
Type Description
RunTrafficDataResponse.Builder

setForecastedTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder setForecastedTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

setForecastedTimeSeries(TimeSeries.Builder builderForValue)

public RunTrafficDataResponse.Builder setForecastedTimeSeries(TimeSeries.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TimeSeries.Builder
Returns
Type Description
RunTrafficDataResponse.Builder

setHistoricalTimeSeries(TimeSeries value)

public RunTrafficDataResponse.Builder setHistoricalTimeSeries(TimeSeries value)

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;

Parameter
Name Description
value TimeSeries
Returns
Type Description
RunTrafficDataResponse.Builder

setHistoricalTimeSeries(TimeSeries.Builder builderForValue)

public RunTrafficDataResponse.Builder setHistoricalTimeSeries(TimeSeries.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TimeSeries.Builder
Returns
Type Description
RunTrafficDataResponse.Builder

setOverallDateRange(DateRange value)

public RunTrafficDataResponse.Builder setOverallDateRange(DateRange value)

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;

Parameter
Name Description
value DateRange
Returns
Type Description
RunTrafficDataResponse.Builder

setOverallDateRange(DateRange.Builder builderForValue)

public RunTrafficDataResponse.Builder setOverallDateRange(DateRange.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DateRange.Builder
Returns
Type Description
RunTrafficDataResponse.Builder