Package com.google.monitoring.v3
Interface ListAlertPoliciesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListAlertPoliciesResponse,ListAlertPoliciesResponse.Builder
@Generated
public interface ListAlertPoliciesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAlertPolicies(int index) The returned alert policies.intThe returned alert policies.The returned alert policies.getAlertPoliciesOrBuilder(int index) The returned alert policies.List<? extends AlertPolicyOrBuilder>The returned alert policies.If there might be more results than were returned, then this field is set to a non-empty value.com.google.protobuf.ByteStringIf there might be more results than were returned, then this field is set to a non-empty value.intThe total number of alert policies in all pages.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAlertPoliciesList
List<AlertPolicy> getAlertPoliciesList()The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; -
getAlertPolicies
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; -
getAlertPoliciesCount
int getAlertPoliciesCount()The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; -
getAlertPoliciesOrBuilderList
List<? extends AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; -
getAlertPoliciesOrBuilder
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3; -
getNextPageToken
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:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.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:
- The bytes for nextPageToken.
-
getTotalSize
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:
- The totalSize.
-