Class GetGenerativeQuestionsFeatureConfigRequest.Builder (2.55.0)

public static final class GetGenerativeQuestionsFeatureConfigRequest.Builder extends GeneratedMessageV3.Builder<GetGenerativeQuestionsFeatureConfigRequest.Builder> implements GetGenerativeQuestionsFeatureConfigRequestOrBuilder

Request for GetGenerativeQuestionsFeatureConfig method.

Protobuf type google.cloud.retail.v2alpha.GetGenerativeQuestionsFeatureConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGenerativeQuestionsFeatureConfigRequest build()
Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest

buildPartial()

public GetGenerativeQuestionsFeatureConfigRequest buildPartial()
Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest

clear()

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

clearCatalog()

public GetGenerativeQuestionsFeatureConfigRequest.Builder clearCatalog()

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

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

Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCatalog()

public String getCatalog()

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

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

Returns
Type Description
String

The catalog.

getCatalogBytes()

public ByteString getCatalogBytes()

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

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

Returns
Type Description
ByteString

The bytes for catalog.

getDefaultInstanceForType()

public GetGenerativeQuestionsFeatureConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetGenerativeQuestionsFeatureConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCatalog(String value)

public GetGenerativeQuestionsFeatureConfigRequest.Builder setCatalog(String value)

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

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

Parameter
Name Description
value String

The catalog to set.

Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest.Builder

This builder for chaining.

setCatalogBytes(ByteString value)

public GetGenerativeQuestionsFeatureConfigRequest.Builder setCatalogBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for catalog to set.

Returns
Type Description
GetGenerativeQuestionsFeatureConfigRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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