Interface ListAdRulesResponseOrBuilder (0.54.0)

public interface ListAdRulesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdRules(int index)

public abstract AdRule getAdRules(int index)

The AdRule objects from the specified network.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AdRule

getAdRulesCount()

public abstract int getAdRulesCount()

The AdRule objects from the specified network.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Returns
Type Description
int

getAdRulesList()

public abstract List<AdRule> getAdRulesList()

The AdRule objects from the specified network.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Returns
Type Description
List<AdRule>

getAdRulesOrBuilder(int index)

public abstract AdRuleOrBuilder getAdRulesOrBuilder(int index)

The AdRule objects from the specified network.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
AdRuleOrBuilder

getAdRulesOrBuilderList()

public abstract List<? extends AdRuleOrBuilder> getAdRulesOrBuilderList()

The AdRule objects from the specified network.

repeated .google.ads.admanager.v1.AdRule ad_rules = 1;

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

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