public final class UpdateGenerativeQuestionsFeatureConfigRequest extends GeneratedMessageV3 implements UpdateGenerativeQuestionsFeatureConfigRequestOrBuilder
Request for UpdateGenerativeQuestionsFeatureConfig method.
Protobuf type google.cloud.retail.v2.UpdateGenerativeQuestionsFeatureConfigRequest
Inherited Members
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()
newBuilder()
public static UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilder()
newBuilder(UpdateGenerativeQuestionsFeatureConfigRequest prototype)
public static UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilder(UpdateGenerativeQuestionsFeatureConfigRequest prototype)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseDelimitedFrom(InputStream input)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(CodedInputStream input)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(InputStream input)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateGenerativeQuestionsFeatureConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateGenerativeQuestionsFeatureConfigRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateGenerativeQuestionsFeatureConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateGenerativeQuestionsFeatureConfigRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides