Class SearchCasesResponse (0.15.0)

public final class SearchCasesResponse extends GeneratedMessageV3 implements SearchCasesResponseOrBuilder

The response message for the SearchCases endpoint.

Protobuf type google.cloud.support.v2.SearchCasesResponse

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 SearchCasesResponse getDefaultInstance()
Returns
TypeDescription
SearchCasesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SearchCasesResponse prototype)

public static SearchCasesResponse.Builder newBuilder(SearchCasesResponse prototype)
Parameter
NameDescription
prototypeSearchCasesResponse
Returns
TypeDescription
SearchCasesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 SearchCasesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchCasesResponse

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseRequest 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 subsequent SearchCaseRequest 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<SearchCasesResponse> getParserForType()
Returns
TypeDescription
Parser<SearchCasesResponse>
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 SearchCasesResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchCasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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