Package com.google.cloud.support.v2beta
Class SearchCaseClassificationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
com.google.cloud.support.v2beta.SearchCaseClassificationsRequest.Builder
- All Implemented Interfaces:
SearchCaseClassificationsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchCaseClassificationsRequest
public static final class SearchCaseClassificationsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
implements SearchCaseClassificationsRequestOrBuilder
The request message for the SearchCaseClassifications endpoint.Protobuf type
google.cloud.support.v2beta.SearchCaseClassificationsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The maximum number of classifications fetched with each request.A token identifying the page of results to return.Optional.An expression used to filter case classifications.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe maximum number of classifications fetched with each request.A token identifying the page of results to return.com.google.protobuf.ByteStringA token identifying the page of results to return.Optional.Optional.Optional.getQuery()An expression used to filter case classifications.com.google.protobuf.ByteStringAn expression used to filter case classifications.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProduct(Product value) Optional.setPageSize(int value) The maximum number of classifications fetched with each request.setPageToken(String value) A token identifying the page of results to return.setPageTokenBytes(com.google.protobuf.ByteString value) A token identifying the page of results to return.setProduct(Product value) Optional.setProduct(Product.Builder builderForValue) Optional.An expression used to filter case classifications.setQueryBytes(com.google.protobuf.ByteString value) An expression used to filter case classifications.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCaseClassificationsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
-
mergeFrom
public SearchCaseClassificationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchCaseClassificationsRequest.Builder>- Throws:
IOException
-
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;- Specified by:
getQueryin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.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;- Specified by:
getQueryBytesin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The bytes for query.
-
setQuery
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;- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setQueryBytes
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;- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The maximum number of classifications fetched with each request.
int32 page_size = 2;- Specified by:
getPageSizein interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The maximum number of classifications fetched with each request.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The maximum number of classifications fetched with each request.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 3;- Specified by:
getPageTokenin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
public SearchCaseClassificationsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value) A token identifying the page of results to return. If unspecified, the first page is retrieved.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasProduct
public boolean hasProduct()Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProductin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- Whether the product field is set.
-
getProduct
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProductin interfaceSearchCaseClassificationsRequestOrBuilder- Returns:
- The product.
-
setProduct
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setProduct
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL]; -
mergeProduct
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL]; -
clearProduct
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getProductBuilder
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getProductOrBuilder
Optional. The product to return case classifications for.
.google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProductOrBuilderin interfaceSearchCaseClassificationsRequestOrBuilder
-