Class UpdateGenerativeQuestionsFeatureConfigRequest (2.60.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
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

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

getDescriptor()

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

newBuilder()

public static UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilder()

newBuilder(UpdateGenerativeQuestionsFeatureConfigRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<UpdateGenerativeQuestionsFeatureConfigRequest> parser()

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateGenerativeQuestionsFeatureConfigRequest getDefaultInstanceForType()

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];

getParserForType()

public Parser<UpdateGenerativeQuestionsFeatureConfigRequest> getParserForType()
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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
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()

writeTo(CodedOutputStream output)

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