Class SearchCaseClassificationsRequest.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

build()

public SearchCaseClassificationsRequest build()
Returns
TypeDescription
SearchCaseClassificationsRequest

buildPartial()

public SearchCaseClassificationsRequest buildPartial()
Returns
TypeDescription
SearchCaseClassificationsRequest

clear()

public SearchCaseClassificationsRequest.Builder clear()
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchCaseClassificationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchCaseClassificationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

clearPageSize()

public SearchCaseClassificationsRequest.Builder clearPageSize()

The maximum number of cases fetched with each request.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SearchCaseClassificationsRequest.Builder

This builder for chaining.

clone()

public SearchCaseClassificationsRequest.Builder clone()
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

getDefaultInstanceForType()

public SearchCaseClassificationsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchCaseClassificationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of cases fetched with each request.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for query.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchCaseClassificationsRequest other)

public SearchCaseClassificationsRequest.Builder mergeFrom(SearchCaseClassificationsRequest other)
Parameter
NameDescription
otherSearchCaseClassificationsRequest
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchCaseClassificationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchCaseClassificationsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchCaseClassificationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The query to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for query to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchCaseClassificationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchCaseClassificationsRequest.Builder
Overrides