Interface ListAlertPoliciesResponseOrBuilder (3.3.2)

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
NameDescription
indexint
Returns
TypeDescription
AlertPolicy

getAlertPoliciesCount()

public abstract int getAlertPoliciesCount()

The returned alert policies.

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

Returns
TypeDescription
int

getAlertPoliciesList()

public abstract List<AlertPolicy> getAlertPoliciesList()

The returned alert policies.

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

Returns
TypeDescription
List<AlertPolicy>

getAlertPoliciesOrBuilder(int index)

public abstract AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index)

The returned alert policies.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AlertPolicyOrBuilder

getAlertPoliciesOrBuilderList()

public abstract List<? extends AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()

The returned alert policies.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The totalSize.