public static final class UpdateConversationProfileRequest.Builder extends GeneratedMessageV3.Builder<UpdateConversationProfileRequest.Builder> implements UpdateConversationProfileRequestOrBuilder
The request message for ConversationProfiles.UpdateConversationProfile.
Protobuf type google.cloud.dialogflow.v2.UpdateConversationProfileRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateConversationProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateConversationProfileRequest build()
Returns
buildPartial()
public UpdateConversationProfileRequest buildPartial()
Returns
clear()
public UpdateConversationProfileRequest.Builder clear()
Returns
Overrides
clearConversationProfile()
public UpdateConversationProfileRequest.Builder clearConversationProfile()
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateConversationProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConversationProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateConversationProfileRequest.Builder clearUpdateMask()
Required. The mask to control which fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateConversationProfileRequest.Builder clone()
Returns
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
getConversationProfileBuilder()
public ConversationProfile.Builder getConversationProfileBuilder()
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationProfileOrBuilder()
public ConversationProfileOrBuilder getConversationProfileOrBuilder()
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateConversationProfileRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The mask to control which fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
hasConversationProfile()
public boolean hasConversationProfile()
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
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
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConversationProfile(ConversationProfile value)
public UpdateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateConversationProfileRequest other)
public UpdateConversationProfileRequest.Builder mergeFrom(UpdateConversationProfileRequest other)
Parameter
Returns
public UpdateConversationProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateConversationProfileRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConversationProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateConversationProfileRequest.Builder mergeUpdateMask(FieldMask value)
Required. The mask to control which fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConversationProfile(ConversationProfile value)
public UpdateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConversationProfile(ConversationProfile.Builder builderForValue)
public UpdateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)
Required. The conversation profile to update.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConversationProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConversationProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConversationProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateConversationProfileRequest.Builder setUpdateMask(FieldMask value)
Required. The mask to control which fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateConversationProfileRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The mask to control which fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns