Class ListGeneratorEvaluationsRequest.Builder (4.89.0)

public static final class ListGeneratorEvaluationsRequest.Builder extends GeneratedMessage.Builder<ListGeneratorEvaluationsRequest.Builder> implements ListGeneratorEvaluationsRequestOrBuilder

Request of ListGeneratorEvaluations.

Protobuf type google.cloud.dialogflow.v2beta1.ListGeneratorEvaluationsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListGeneratorEvaluationsRequest build()
Returns
Type Description
ListGeneratorEvaluationsRequest

buildPartial()

public ListGeneratorEvaluationsRequest buildPartial()
Returns
Type Description
ListGeneratorEvaluationsRequest

clear()

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

clearPageSize()

public ListGeneratorEvaluationsRequest.Builder clearPageSize()

Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListGeneratorEvaluationsRequest.Builder clearPageToken()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

clearParent()

public ListGeneratorEvaluationsRequest.Builder clearParent()

Required. The generator resource name. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID> Wildcard value - is supported on generator_id to list evaluations across all generators under same project.

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

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListGeneratorEvaluationsRequest getDefaultInstanceForType()
Returns
Type Description
ListGeneratorEvaluationsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The generator resource name. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID> Wildcard value - is supported on generator_id to list evaluations across all generators under same project.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The generator resource name. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID> Wildcard value - is supported on generator_id to list evaluations across all generators under same project.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGeneratorEvaluationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListGeneratorEvaluationsRequest.Builder setPageSize(int value)

Optional. Maximum number of evaluations to return in a single page. By default 100 and at most 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListGeneratorEvaluationsRequest.Builder setPageToken(String value)

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListGeneratorEvaluationsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The next_page_token value returned from a previous list request.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListGeneratorEvaluationsRequest.Builder setParent(String value)

Required. The generator resource name. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID> Wildcard value - is supported on generator_id to list evaluations across all generators under same project.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListGeneratorEvaluationsRequest.Builder setParentBytes(ByteString value)

Required. The generator resource name. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID> Wildcard value - is supported on generator_id to list evaluations across all generators under same project.

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
ListGeneratorEvaluationsRequest.Builder

This builder for chaining.