Class ListPredictionResultsRequest.Builder (0.1.0)

public static final class ListPredictionResultsRequest.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPredictionResultsRequest build()
Returns
Type Description
ListPredictionResultsRequest

buildPartial()

public ListPredictionResultsRequest buildPartial()
Returns
Type Description
ListPredictionResultsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListPredictionResultsRequest.Builder clearFilter()

Specify a filter to narrow search results.

string filter = 4;

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListPredictionResultsRequest.Builder clearOrderBy()

Specify a field to use for ordering.

string order_by = 5;

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

clearPageSize()

public ListPredictionResultsRequest.Builder 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
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

clearPageToken()

public ListPredictionResultsRequest.Builder 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
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

clearParent()

public ListPredictionResultsRequest.Builder clearParent()

Required. The parent of the PredictionResult is the Instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPredictionResultsRequest getDefaultInstanceForType()
Returns
Type Description
ListPredictionResultsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Specify a filter to narrow search results.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Specify a filter to narrow search results.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Specify a field to use for ordering.

string order_by = 5;

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Specify a field to use for ordering.

string order_by = 5;

Returns
Type Description
ByteString

The bytes for orderBy.

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;

Returns
Type Description
int

The pageSize.

getPageToken()

public String 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;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent of the PredictionResult is the Instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent of the PredictionResult is the Instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPredictionResultsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListPredictionResultsRequest.Builder setFilter(String value)

Specify a filter to narrow search results.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListPredictionResultsRequest.Builder setFilterBytes(ByteString value)

Specify a filter to narrow search results.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListPredictionResultsRequest.Builder setOrderBy(String value)

Specify a field to use for ordering.

string order_by = 5;

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListPredictionResultsRequest.Builder setOrderByBytes(ByteString value)

Specify a field to use for ordering.

string order_by = 5;

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListPredictionResultsRequest.Builder setPageSize(int value)

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;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListPredictionResultsRequest.Builder setPageToken(String value)

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;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListPredictionResultsRequest.Builder setPageTokenBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setParent(String value)

public ListPredictionResultsRequest.Builder setParent(String value)

Required. The parent of the PredictionResult is the Instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListPredictionResultsRequest.Builder setParentBytes(ByteString value)

Required. The parent of the PredictionResult is the Instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListPredictionResultsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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