public final class ListAlertPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 implements ListAlertPoliciesResponseOrBuilder
The protocol for the `ListAlertPolicies` response.Protobuf type
google.monitoring.v3.ListAlertPoliciesResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ListAlertPoliciesResponse.Builder
The protocol for the `ListAlertPolicies` response.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALERT_POLICIES_FIELD_NUMBER |
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
TOTAL_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AlertPolicy |
getAlertPolicies(int index)
The returned alert policies.
|
int |
getAlertPoliciesCount()
The returned alert policies.
|
List<AlertPolicy> |
getAlertPoliciesList()
The returned alert policies.
|
AlertPolicyOrBuilder |
getAlertPoliciesOrBuilder(int index)
The returned alert policies.
|
List<? extends AlertPolicyOrBuilder> |
getAlertPoliciesOrBuilderList()
The returned alert policies.
|
static ListAlertPoliciesResponse |
getDefaultInstance() |
ListAlertPoliciesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNextPageToken()
If there might be more results than were returned, then this field is set
to a non-empty value.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If there might be more results than were returned, then this field is set
to a non-empty value.
|
com.google.protobuf.Parser<ListAlertPoliciesResponse> |
getParserForType() |
int |
getSerializedSize() |
int |
getTotalSize()
The total number of alert policies in all pages.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListAlertPoliciesResponse.Builder |
newBuilder() |
static ListAlertPoliciesResponse.Builder |
newBuilder(ListAlertPoliciesResponse prototype) |
ListAlertPoliciesResponse.Builder |
newBuilderForType() |
protected ListAlertPoliciesResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListAlertPoliciesResponse |
parseDelimitedFrom(InputStream input) |
static ListAlertPoliciesResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListAlertPoliciesResponse |
parseFrom(byte[] data) |
static ListAlertPoliciesResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListAlertPoliciesResponse |
parseFrom(ByteBuffer data) |
static ListAlertPoliciesResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListAlertPoliciesResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ListAlertPoliciesResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListAlertPoliciesResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListAlertPoliciesResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListAlertPoliciesResponse |
parseFrom(InputStream input) |
static ListAlertPoliciesResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListAlertPoliciesResponse> |
parser() |
ListAlertPoliciesResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ALERT_POLICIES_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<AlertPolicy> getAlertPoliciesList()
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;getAlertPoliciesList in interface ListAlertPoliciesResponseOrBuilderpublic List<? extends AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;getAlertPoliciesOrBuilderList in interface ListAlertPoliciesResponseOrBuilderpublic int getAlertPoliciesCount()
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;getAlertPoliciesCount in interface ListAlertPoliciesResponseOrBuilderpublic AlertPolicy getAlertPolicies(int index)
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;getAlertPolicies in interface ListAlertPoliciesResponseOrBuilderpublic AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index)
The returned alert policies.
repeated .google.monitoring.v3.AlertPolicy alert_policies = 3;getAlertPoliciesOrBuilder in interface ListAlertPoliciesResponseOrBuilderpublic 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;getNextPageToken in interface ListAlertPoliciesResponseOrBuilderpublic 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;getNextPageTokenBytes in interface ListAlertPoliciesResponseOrBuilderpublic 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;getTotalSize in interface ListAlertPoliciesResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListAlertPoliciesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListAlertPoliciesResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListAlertPoliciesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListAlertPoliciesResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListAlertPoliciesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListAlertPoliciesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListAlertPoliciesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListAlertPoliciesResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListAlertPoliciesResponse.Builder newBuilder()
public static ListAlertPoliciesResponse.Builder newBuilder(ListAlertPoliciesResponse prototype)
public ListAlertPoliciesResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListAlertPoliciesResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListAlertPoliciesResponse getDefaultInstance()
public static com.google.protobuf.Parser<ListAlertPoliciesResponse> parser()
public com.google.protobuf.Parser<ListAlertPoliciesResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListAlertPoliciesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.