Class SearchCaseClassificationsRequest.Builder (0.29.0)

public static final class SearchCaseClassificationsRequest.Builder extends GeneratedMessageV3.Builder<SearchCaseClassificationsRequest.Builder> implements SearchCaseClassificationsRequestOrBuilder

The request message for SearchCaseClassifications endpoint.

Protobuf type google.cloud.support.v2.SearchCaseClassificationsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

build()

public SearchCaseClassificationsRequest build()
Returns
Type Description
SearchCaseClassificationsRequest

buildPartial()

public SearchCaseClassificationsRequest buildPartial()
Returns
Type Description
SearchCaseClassificationsRequest

clear()

public SearchCaseClassificationsRequest.Builder clear()
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchCaseClassificationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCaseClassificationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

clearPageSize()

public SearchCaseClassificationsRequest.Builder clearPageSize()

The maximum number of cases fetched with each request.

int32 page_size = 2;

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchCaseClassificationsRequest.Builder clearPageToken()

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

string page_token = 3;

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

clearQuery()

public SearchCaseClassificationsRequest.Builder clearQuery()

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

string query = 1;

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

clone()

public SearchCaseClassificationsRequest.Builder clone()
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

getDefaultInstanceForType()

public SearchCaseClassificationsRequest getDefaultInstanceForType()
Returns
Type Description
SearchCaseClassificationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of cases fetched with each request.

int32 page_size = 2;

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 = 3;

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 = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getQuery()

public String getQuery()

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

string query = 1;

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

string query = 1;

Returns
Type Description
ByteString

The bytes for query.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchCaseClassificationsRequest other)

public SearchCaseClassificationsRequest.Builder mergeFrom(SearchCaseClassificationsRequest other)
Parameter
Name Description
other SearchCaseClassificationsRequest
Returns
Type Description
SearchCaseClassificationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCaseClassificationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchCaseClassificationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

setPageSize(int value)

public SearchCaseClassificationsRequest.Builder setPageSize(int value)

The maximum number of cases fetched with each request.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchCaseClassificationsRequest.Builder setPageToken(String value)

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

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchCaseClassificationsRequest.Builder setPageTokenBytes(ByteString value)

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

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

setQuery(String value)

public SearchCaseClassificationsRequest.Builder setQuery(String value)

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

string query = 1;

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchCaseClassificationsRequest.Builder setQueryBytes(ByteString value)

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

string query = 1;

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchCaseClassificationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchCaseClassificationsRequest.Builder
Overrides