Class SearchCaseClassificationsRequest.Builder (0.69.0)

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

The request message for the SearchCaseClassifications endpoint.

Protobuf type google.cloud.support.v2beta.SearchCaseClassificationsRequest

Static Methods

getDescriptor()

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

Methods

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

clearPageSize()

public SearchCaseClassificationsRequest.Builder clearPageSize()

The maximum number of classifications 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.

clearProduct()

public SearchCaseClassificationsRequest.Builder clearProduct()

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchCaseClassificationsRequest.Builder

clearQuery()

public SearchCaseClassificationsRequest.Builder clearQuery()

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

string query = 1;

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.

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 classifications 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.

getProduct()

public Product getProduct()

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Product

The product.

getProductBuilder()

public Product.Builder getProductBuilder()

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Product.Builder

getProductOrBuilder()

public ProductOrBuilder getProductOrBuilder()

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductOrBuilder

getQuery()

public String getQuery()

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

string query = 1;

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

string query = 1;

Returns
Type Description
ByteString

The bytes for query.

hasProduct()

public boolean hasProduct()

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the product field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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

mergeProduct(Product value)

public SearchCaseClassificationsRequest.Builder mergeProduct(Product value)

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Product
Returns
Type Description
SearchCaseClassificationsRequest.Builder

setPageSize(int value)

public SearchCaseClassificationsRequest.Builder setPageSize(int value)

The maximum number of classifications 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.

setProduct(Product value)

public SearchCaseClassificationsRequest.Builder setProduct(Product value)

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Product
Returns
Type Description
SearchCaseClassificationsRequest.Builder

setProduct(Product.Builder builderForValue)

public SearchCaseClassificationsRequest.Builder setProduct(Product.Builder builderForValue)

Optional. The product to return case classifications for.

.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Product.Builder
Returns
Type Description
SearchCaseClassificationsRequest.Builder

setQuery(String value)

public SearchCaseClassificationsRequest.Builder setQuery(String value)

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

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 used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

string query = 1;

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchCaseClassificationsRequest.Builder

This builder for chaining.