Class ListCasesResponse (0.6.0)

public final class ListCasesResponse extends GeneratedMessageV3 implements ListCasesResponseOrBuilder

The response message for the ListCases endpoint.

Protobuf type google.cloud.support.v2.ListCasesResponse

Static Fields

CASES_FIELD_NUMBER

public static final int CASES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListCasesResponse getDefaultInstance()
Returns
TypeDescription
ListCasesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListCasesResponse.Builder newBuilder()
Returns
TypeDescription
ListCasesResponse.Builder

newBuilder(ListCasesResponse prototype)

public static ListCasesResponse.Builder newBuilder(ListCasesResponse prototype)
Parameter
NameDescription
prototypeListCasesResponse
Returns
TypeDescription
ListCasesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCasesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListCasesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCasesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCasesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListCasesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListCasesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListCasesResponse> parser()
Returns
TypeDescription
Parser<ListCasesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCases(int index)

public Case getCases(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Case

getCasesCount()

public int getCasesCount()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
TypeDescription
int

getCasesList()

public List<Case> getCasesList()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
TypeDescription
List<Case>

getCasesOrBuilder(int index)

public CaseOrBuilder getCasesOrBuilder(int index)

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CaseOrBuilder

getCasesOrBuilderList()

public List<? extends CaseOrBuilder> getCasesOrBuilderList()

The list of cases associated with the Google Cloud Resource, after any filters have been applied.

repeated .google.cloud.support.v2.Case cases = 1;

Returns
TypeDescription
List<? extends com.google.cloud.support.v2.CaseOrBuilder>

getDefaultInstanceForType()

public ListCasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCasesResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. This should be set in the page_token field of the subsequent ListCasesRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. This should be set in the page_token field of the subsequent ListCasesRequest message that is issued. If unspecified, there are no more results to retrieve.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListCasesResponse> getParserForType()
Returns
TypeDescription
Parser<ListCasesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListCasesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListCasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListCasesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListCasesResponse.Builder toBuilder()
Returns
TypeDescription
ListCasesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException