Interface ListAdSpotsResponseOrBuilder (0.54.0)

public interface ListAdSpotsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdSpots(int index)

public abstract AdSpot getAdSpots(int index)

The AdSpot objects from the specified network.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSpot

getAdSpotsCount()

public abstract int getAdSpotsCount()

The AdSpot objects from the specified network.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Returns
Type Description
int

getAdSpotsList()

public abstract List<AdSpot> getAdSpotsList()

The AdSpot objects from the specified network.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Returns
Type Description
List<AdSpot>

getAdSpotsOrBuilder(int index)

public abstract AdSpotOrBuilder getAdSpotsOrBuilder(int index)

The AdSpot objects from the specified network.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSpotOrBuilder

getAdSpotsOrBuilderList()

public abstract List<? extends AdSpotOrBuilder> getAdSpotsOrBuilderList()

The AdSpot objects from the specified network.

repeated .google.ads.admanager.v1.AdSpot ad_spots = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.AdSpotOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

Total number of AdSpot objects. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size won't be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
int

The totalSize.