Class UpdateGenerativeQuestionsFeatureConfigRequest (2.54.0)

public final class UpdateGenerativeQuestionsFeatureConfigRequest extends GeneratedMessageV3 implements UpdateGenerativeQuestionsFeatureConfigRequestOrBuilder

Request for UpdateGenerativeQuestionsFeatureConfig method.

Protobuf type google.cloud.retail.v2.UpdateGenerativeQuestionsFeatureConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateGenerativeQuestionsFeatureConfigRequest

Static Fields

GENERATIVE_QUESTIONS_FEATURE_CONFIG_FIELD_NUMBER

public static final int GENERATIVE_QUESTIONS_FEATURE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateGenerativeQuestionsFeatureConfigRequest getDefaultInstance()
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest

getDescriptor()

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

newBuilder()

public static UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest.Builder

newBuilder(UpdateGenerativeQuestionsFeatureConfigRequest prototype)

public static UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilder(UpdateGenerativeQuestionsFeatureConfigRequest prototype)
Parameter
Name Description
prototype UpdateGenerativeQuestionsFeatureConfigRequest
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateGenerativeQuestionsFeatureConfigRequest> parser()
Returns
Type Description
Parser<UpdateGenerativeQuestionsFeatureConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateGenerativeQuestionsFeatureConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest

getGenerativeQuestionsFeatureConfig()

public GenerativeQuestionsFeatureConfig getGenerativeQuestionsFeatureConfig()

Required. The configuration managing the feature state.

.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeQuestionsFeatureConfig

The generativeQuestionsFeatureConfig.

getGenerativeQuestionsFeatureConfigOrBuilder()

public GenerativeQuestionsFeatureConfigOrBuilder getGenerativeQuestionsFeatureConfigOrBuilder()

Required. The configuration managing the feature state.

.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeQuestionsFeatureConfigOrBuilder

getParserForType()

public Parser<UpdateGenerativeQuestionsFeatureConfigRequest> getParserForType()
Returns
Type Description
Parser<UpdateGenerativeQuestionsFeatureConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasGenerativeQuestionsFeatureConfig()

public boolean hasGenerativeQuestionsFeatureConfig()

Required. The configuration managing the feature state.

.google.cloud.retail.v2.GenerativeQuestionsFeatureConfig generative_questions_feature_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generativeQuestionsFeatureConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateGenerativeQuestionsFeatureConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateGenerativeQuestionsFeatureConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException