Class UpdateGenerativeSettingsRequest (0.60.0)

public final class UpdateGenerativeSettingsRequest extends GeneratedMessageV3 implements UpdateGenerativeSettingsRequestOrBuilder

Request for UpdateGenerativeSettings RPC.

Protobuf type google.cloud.dialogflow.cx.v3.UpdateGenerativeSettingsRequest

Inheritance

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

Static Fields

GENERATIVE_SETTINGS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateGenerativeSettingsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateGenerativeSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGenerativeSettingsRequest

getGenerativeSettings()

public GenerativeSettings getGenerativeSettings()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeSettings

The generativeSettings.

getGenerativeSettingsOrBuilder()

public GenerativeSettingsOrBuilder getGenerativeSettingsOrBuilder()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerativeSettingsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

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

Returns
Type Description
FieldMaskOrBuilder

hasGenerativeSettings()

public boolean hasGenerativeSettings()

Required. Generative settings to update.

.google.cloud.dialogflow.cx.v3.GenerativeSettings generative_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the generativeSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.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 UpdateGenerativeSettingsRequest.Builder newBuilderForType()
Returns
Type Description
UpdateGenerativeSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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