Class ListTransitionRouteGroupsRequest.Builder (0.44.0)

public static final class ListTransitionRouteGroupsRequest.Builder extends GeneratedMessageV3.Builder<ListTransitionRouteGroupsRequest.Builder> implements ListTransitionRouteGroupsRequestOrBuilder

The request message for TransitionRouteGroups.ListTransitionRouteGroups.

Protobuf type google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTransitionRouteGroupsRequest build()
Returns
Type Description
ListTransitionRouteGroupsRequest

buildPartial()

public ListTransitionRouteGroupsRequest buildPartial()
Returns
Type Description
ListTransitionRouteGroupsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public ListTransitionRouteGroupsRequest.Builder clearLanguageCode()

The language to list transition route groups for. The following fields are language dependent:

  • TransitionRouteGroup.transition_routes.trigger_fulfillment.messages * TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 4;

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListTransitionRouteGroupsRequest.Builder clearPageSize()

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTransitionRouteGroupsRequest.Builder clearPageToken()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

clearParent()

public ListTransitionRouteGroupsRequest.Builder clearParent()

Required. The flow to list all transition route groups for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID> or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTransitionRouteGroupsRequest getDefaultInstanceForType()
Returns
Type Description
ListTransitionRouteGroupsRequest

getDescriptorForType()

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

getLanguageCode()

public String getLanguageCode()

The language to list transition route groups for. The following fields are language dependent:

  • TransitionRouteGroup.transition_routes.trigger_fulfillment.messages * TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 4;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

The language to list transition route groups for. The following fields are language dependent:

  • TransitionRouteGroup.transition_routes.trigger_fulfillment.messages * TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 4;

Returns
Type Description
ByteString

The bytes for languageCode.

getPageSize()

public int getPageSize()

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value returned from a previous list request.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The flow to list all transition route groups for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID> or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The flow to list all transition route groups for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID> or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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(ListTransitionRouteGroupsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public ListTransitionRouteGroupsRequest.Builder setLanguageCode(String value)

The language to list transition route groups for. The following fields are language dependent:

  • TransitionRouteGroup.transition_routes.trigger_fulfillment.messages * TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 4;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public ListTransitionRouteGroupsRequest.Builder setLanguageCodeBytes(ByteString value)

The language to list transition route groups for. The following fields are language dependent:

  • TransitionRouteGroup.transition_routes.trigger_fulfillment.messages * TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases

If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 4;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListTransitionRouteGroupsRequest.Builder setPageSize(int value)

The maximum number of items to return in a single page. By default 100 and at most 1000.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTransitionRouteGroupsRequest.Builder setPageToken(String value)

The next_page_token value returned from a previous list request.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTransitionRouteGroupsRequest.Builder setPageTokenBytes(ByteString value)

The next_page_token value returned from a previous list request.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransitionRouteGroupsRequest.Builder setParent(String value)

Required. The flow to list all transition route groups for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID> or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTransitionRouteGroupsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransitionRouteGroupsRequest.Builder setParentBytes(ByteString value)

Required. The flow to list all transition route groups for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID> or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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