Class ListPredictionResultsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPredictionResultsRequest.Builder>
com.google.cloud.financialservices.v1.ListPredictionResultsRequest.Builder
- All Implemented Interfaces:
ListPredictionResultsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPredictionResultsRequest
public static final class ListPredictionResultsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListPredictionResultsRequest.Builder>
implements ListPredictionResultsRequestOrBuilder
Request for retrieving a paginated list of PredictionResult resources that meet the specified criteria.Protobuf type
google.cloud.financialservices.v1.ListPredictionResultsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specify a filter to narrow search results.Specify a field to use for ordering.The number of resources to be included in the response.In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecify a filter to narrow search results.com.google.protobuf.ByteStringSpecify a filter to narrow search results.Specify a field to use for ordering.com.google.protobuf.ByteStringSpecify a field to use for ordering.intThe number of resources to be included in the response.In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse.com.google.protobuf.ByteStringIn case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specify a filter to narrow search results.setFilterBytes(com.google.protobuf.ByteString value) Specify a filter to narrow search results.setOrderBy(String value) Specify a field to use for ordering.setOrderByBytes(com.google.protobuf.ByteString value) Specify a field to use for ordering.setPageSize(int value) The number of resources to be included in the response.setPageToken(String value) In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse.setPageTokenBytes(com.google.protobuf.ByteString value) In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse.Required.setParentBytes(com.google.protobuf.ByteString value) Required.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<ListPredictionResultsRequest.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<ListPredictionResultsRequest.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<ListPredictionResultsRequest.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<ListPredictionResultsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListPredictionResultsRequest.Builder>
-
mergeFrom
public ListPredictionResultsRequest.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<ListPredictionResultsRequest.Builder>- Throws:
IOException
-
getParent
Required. The parent of the PredictionResult is the Instance.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The parent of the PredictionResult is the Instance.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The parent of the PredictionResult is the Instance.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The parent of the PredictionResult is the Instance.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The parent of the PredictionResult is the Instance.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListPredictionResultsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
string page_token = 3;- Specified by:
getPageTokenin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
Specify a filter to narrow search results.
string filter = 4;- Specified by:
getFilterin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Specify a filter to narrow search results.
string filter = 4;- Specified by:
getFilterBytesin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
Specify a filter to narrow search results.
string filter = 4;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
Specify a filter to narrow search results.
string filter = 4;- Returns:
- This builder for chaining.
-
setFilterBytes
Specify a filter to narrow search results.
string filter = 4;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
Specify a field to use for ordering.
string order_by = 5;- Specified by:
getOrderByin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()Specify a field to use for ordering.
string order_by = 5;- Specified by:
getOrderByBytesin interfaceListPredictionResultsRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
Specify a field to use for ordering.
string order_by = 5;- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
Specify a field to use for ordering.
string order_by = 5;- Returns:
- This builder for chaining.
-
setOrderByBytes
Specify a field to use for ordering.
string order_by = 5;- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-