Class ListCasesRequest (0.60.0)
public final class ListCasesRequest extends GeneratedMessageV3 implements ListCasesRequestOrBuilder
The request message for the ListCases endpoint.
Protobuf type google.cloud.support.v2beta.ListCasesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FILTER_FIELD_NUMBER
public static final int FILTER_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 |
|
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRODUCT_LINE_FIELD_NUMBER
public static final int PRODUCT_LINE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ListCasesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListCasesRequest.Builder newBuilder()
newBuilder(ListCasesRequest prototype)
public static ListCasesRequest.Builder newBuilder(ListCasesRequest prototype)
public static ListCasesRequest parseDelimitedFrom(InputStream input)
public static ListCasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListCasesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListCasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListCasesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListCasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListCasesRequest parseFrom(CodedInputStream input)
public static ListCasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListCasesRequest parseFrom(InputStream input)
public static ListCasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListCasesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListCasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListCasesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ListCasesRequest getDefaultInstanceForType()
getFilter()
public 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
=
:
string filter = 2;
Returns |
Type |
Description |
String |
The filter.
|
getFilterBytes()
public 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
=
:
string filter = 2;
Returns |
Type |
Description |
ByteString |
The bytes for filter.
|
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 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 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 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 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.
|
getParserForType()
public Parser<ListCasesRequest> getParserForType()
Overrides
getProductLine()
public 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;
getProductLineValue()
public 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasProductLine()
public 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListCasesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListCasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListCasesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]