Class ListGenerativeQuestionConfigsRequest.Builder (2.54.0)

public static final class ListGenerativeQuestionConfigsRequest.Builder extends GeneratedMessageV3.Builder<ListGenerativeQuestionConfigsRequest.Builder> implements ListGenerativeQuestionConfigsRequestOrBuilder

Request for ListQuestions method.

Protobuf type google.cloud.retail.v2.ListGenerativeQuestionConfigsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGenerativeQuestionConfigsRequest build()
Returns
Type Description
ListGenerativeQuestionConfigsRequest

buildPartial()

public ListGenerativeQuestionConfigsRequest buildPartial()
Returns
Type Description
ListGenerativeQuestionConfigsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ListGenerativeQuestionConfigsRequest.Builder clearParent()

Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

Returns
Type Description
ListGenerativeQuestionConfigsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListGenerativeQuestionConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListGenerativeQuestionConfigsRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public ListGenerativeQuestionConfigsRequest.Builder setParent(String value)

Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListGenerativeQuestionConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListGenerativeQuestionConfigsRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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