Interface ListAlertPoliciesResponseOrBuilder (3.53.0)

public interface ListAlertPoliciesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertPolicies(int index)

public abstract AlertPolicy getAlertPolicies(int index)

The returned alert policies.

repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;

Parameter
Name Description
index int
Returns
Type Description
AlertPolicy

getAlertPoliciesCount()

public abstract int getAlertPoliciesCount()

The returned alert policies.

repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;

Returns
Type Description
int

getAlertPoliciesList()

public abstract List<AlertPolicy> getAlertPoliciesList()

The returned alert policies.

repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;

Returns
Type Description
List<AlertPolicy>

getAlertPoliciesOrBuilder(int index)

public abstract AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index)

The returned alert policies.

repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;

Parameter
Name Description
index int
Returns
Type Description
AlertPolicyOrBuilder

getAlertPoliciesOrBuilderList()

public abstract List<? extends AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()

The returned alert policies.

repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;

Returns
Type Description
List<? extends com.google.monitoring.v3.AlertPolicyOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

If there might be more results than were returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158

int32 total_size = 4;

Returns
Type Description
int

The totalSize.