Class UpdateGenerativeQuestionConfigRequest (2.54.0)

public final class UpdateGenerativeQuestionConfigRequest extends GeneratedMessageV3 implements UpdateGenerativeQuestionConfigRequestOrBuilder

Request for UpdateGenerativeQuestionConfig method.

Protobuf type google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest

Inheritance

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

Static Fields

GENERATIVE_QUESTION_CONFIG_FIELD_NUMBER

public static final int GENERATIVE_QUESTION_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 UpdateGenerativeQuestionConfigRequest getDefaultInstance()
Returns
Type Description
UpdateGenerativeQuestionConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateGenerativeQuestionConfigRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateGenerativeQuestionConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGenerativeQuestionConfigRequest

getGenerativeQuestionConfig()

public GenerativeQuestionConfig getGenerativeQuestionConfig()

Required. The question to update.

.google.cloud.retail.v2.GenerativeQuestionConfig generative_question_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeQuestionConfig

The generativeQuestionConfig.

getGenerativeQuestionConfigOrBuilder()

public GenerativeQuestionConfigOrBuilder getGenerativeQuestionConfigOrBuilder()

Required. The question to update.

.google.cloud.retail.v2.GenerativeQuestionConfig generative_question_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeQuestionConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported:

  • GenerativeQuestionConfig.frequency

    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 GenerativeQuestionConfig to update. The following are NOT supported:

  • GenerativeQuestionConfig.frequency

    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

hasGenerativeQuestionConfig()

public boolean hasGenerativeQuestionConfig()

Required. The question to update.

.google.cloud.retail.v2.GenerativeQuestionConfig generative_question_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generativeQuestionConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported:

  • GenerativeQuestionConfig.frequency

    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 UpdateGenerativeQuestionConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateGenerativeQuestionConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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