Class UpdateConversationProfileRequest (4.47.0)

public final class UpdateConversationProfileRequest extends GeneratedMessageV3 implements UpdateConversationProfileRequestOrBuilder

The request message for ConversationProfiles.UpdateConversationProfile.

Protobuf type google.cloud.dialogflow.v2.UpdateConversationProfileRequest

Inheritance

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

Static Fields

CONVERSATION_PROFILE_FIELD_NUMBER

public static final int CONVERSATION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateConversationProfileRequest getDefaultInstance()
Returns
TypeDescription
UpdateConversationProfileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateConversationProfileRequest.Builder newBuilder()
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

newBuilder(UpdateConversationProfileRequest prototype)

public static UpdateConversationProfileRequest.Builder newBuilder(UpdateConversationProfileRequest prototype)
Parameter
NameDescription
prototypeUpdateConversationProfileRequest
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateConversationProfileRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateConversationProfileRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateConversationProfileRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateConversationProfileRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateConversationProfileRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateConversationProfileRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateConversationProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateConversationProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateConversationProfileRequest> parser()
Returns
TypeDescription
Parser<UpdateConversationProfileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConversationProfile()

public ConversationProfile getConversationProfile()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationProfile

The conversationProfile.

getConversationProfileOrBuilder()

public ConversationProfileOrBuilder getConversationProfileOrBuilder()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConversationProfileOrBuilder

getDefaultInstanceForType()

public UpdateConversationProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConversationProfileRequest

getParserForType()

public Parser<UpdateConversationProfileRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateConversationProfileRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields to update.

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

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields to update.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasConversationProfile()

public boolean hasConversationProfile()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the conversationProfile field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to control which fields to update.

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

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateConversationProfileRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateConversationProfileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateConversationProfileRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateConversationProfileRequest.Builder toBuilder()
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException