Interface ListCasesRequestOrBuilder (0.47.0)

public interface ListCasesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilter()

public abstract 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
Type Description
String

The filter.

getFilterBytes()

public abstract 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
Type Description
ByteString

The bytes for filter.

getPageSize()

public abstract int getPageSize()

The maximum number of cases fetched with each request. Defaults to 10.

int32 page_size = 4;

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

A token identifying the page of results to return. If unspecified, the first page is retrieved.

string page_token = 5;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

A token identifying the page of results to return. If unspecified, the first page is retrieved.

string page_token = 5;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getProductLine()

public abstract 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
Type Description
ProductLine

The productLine.

getProductLineValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for productLine.

hasProductLine()

public abstract 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
Type Description
boolean

Whether the productLine field is set.