Package com.google.cloud.support.v2beta
Interface ListCasesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListCasesRequest,ListCasesRequest.Builder
@Generated
public interface ListCasesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn expression used to filter cases.com.google.protobuf.ByteStringAn expression used to filter cases.intThe maximum number of cases fetched with each request.A token identifying the page of results to return.com.google.protobuf.ByteStringA token identifying the page of results to return.Required.com.google.protobuf.ByteStringRequired.The product line to request cases for.intThe product line to request cases for.booleanThe product line to request cases for.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
-
getParent
String getParent()Required. The name of a parent to list cases under.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The name of a parent to list cases under.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getFilter
String getFilter()An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. EXAMPLES: - `state=CLOSED` - `state=OPEN AND creator.email="tester@example.com"` - `state=OPEN AND (priority=P0 OR priority=P1)`
string filter = 2;- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. EXAMPLES: - `state=CLOSED` - `state=OPEN AND creator.email="tester@example.com"` - `state=OPEN AND (priority=P0 OR priority=P1)`
string filter = 2;- Returns:
- The bytes for filter.
-
getPageSize
int getPageSize()The maximum number of cases fetched with each request. Defaults to 10.
int32 page_size = 4;- Returns:
- The pageSize.
-
getPageToken
String getPageToken()A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 5;- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 5;- Returns:
- The bytes for pageToken.
-
hasProductLine
boolean hasProductLine()The product line to request cases for. If unspecified, only Google Cloud cases will be returned.
optional .google.cloud.support.v2beta.ProductLine product_line = 8;- Returns:
- Whether the productLine field is set.
-
getProductLineValue
int getProductLineValue()The product line to request cases for. If unspecified, only Google Cloud cases will be returned.
optional .google.cloud.support.v2beta.ProductLine product_line = 8;- Returns:
- The enum numeric value on the wire for productLine.
-
getProductLine
ProductLine getProductLine()The product line to request cases for. If unspecified, only Google Cloud cases will be returned.
optional .google.cloud.support.v2beta.ProductLine product_line = 8;- Returns:
- The productLine.
-