public final class ListAlertPoliciesRequest extends GeneratedMessageV3 implements ListAlertPoliciesRequestOrBuilder
The protocol for the ListAlertPolicies
request.
Protobuf type google.monitoring.v3.ListAlertPoliciesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListAlertPoliciesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListAlertPoliciesRequest.Builder newBuilder()
newBuilder(ListAlertPoliciesRequest prototype)
public static ListAlertPoliciesRequest.Builder newBuilder(ListAlertPoliciesRequest prototype)
public static ListAlertPoliciesRequest parseDelimitedFrom(InputStream input)
public static ListAlertPoliciesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListAlertPoliciesRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListAlertPoliciesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListAlertPoliciesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAlertPoliciesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListAlertPoliciesRequest parseFrom(CodedInputStream input)
public static ListAlertPoliciesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListAlertPoliciesRequest parseFrom(InputStream input)
public static ListAlertPoliciesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListAlertPoliciesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListAlertPoliciesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListAlertPoliciesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListAlertPoliciesRequest getDefaultInstanceForType()
getFilter()
public String getFilter()
If provided, this field specifies the criteria that must be met by
alert policies to be included in the response.
For more details, see sorting and
filtering.
string filter = 5;
Returns |
---|
Type | Description |
String | The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
If provided, this field specifies the criteria that must be met by
alert policies to be included in the response.
For more details, see sorting and
filtering.
string filter = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for filter.
|
getName()
Required. The project
whose alert policies are to be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this field names the parent container in which the alerting
policies to be listed are stored. To retrieve a single alerting policy
by name, use the
GetAlertPolicy
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The project
whose alert policies are to be listed. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Note that this field names the parent container in which the alerting
policies to be listed are stored. To retrieve a single alerting policy
by name, use the
GetAlertPolicy
operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getOrderBy()
public String getOrderBy()
A comma-separated list of fields by which to sort the result. Supports
the same set of field references as the filter
field. Entries can be
prefixed with a minus sign to sort by the field in descending order.
For more details, see sorting and
filtering.
string order_by = 6;
Returns |
---|
Type | Description |
String | The orderBy.
|
getOrderByBytes()
public ByteString getOrderByBytes()
A comma-separated list of fields by which to sort the result. Supports
the same set of field references as the filter
field. Entries can be
prefixed with a minus sign to sort by the field in descending order.
For more details, see sorting and
filtering.
string order_by = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for orderBy.
|
getPageSize()
The maximum number of results to return in a single response.
int32 page_size = 2;
Returns |
---|
Type | Description |
int | The pageSize.
|
getPageToken()
public String getPageToken()
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return more results from the previous method call.
string page_token = 3;
Returns |
---|
Type | Description |
String | The pageToken.
|
getPageTokenBytes()
public ByteString getPageTokenBytes()
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return more results from the previous method call.
string page_token = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for pageToken.
|
getParserForType()
public Parser<ListAlertPoliciesRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListAlertPoliciesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListAlertPoliciesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListAlertPoliciesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides