Dialogflow/src/V2/SessionEntityType.php
public function setEntityOverrideMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SessionEntityType_EntityOverrideMode::class);
        $this->entity_override_mode = $var;

        return $this;
    }
public function setEntityOverrideMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SessionEntityType_EntityOverrideMode::class);
        $this->entity_override_mode = $var;

        return $this;
    }
public function setEntityOverrideMode ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ SessionEntityType_EntityOverrideMode :: class ) ; $ this -> entity_override_mode = $ var ; return $ this ; }
Required. Indicates whether the additional data should override or
supplement the developer entity type definition.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode entity_override_mode = 2;</code>
@param int $var
@return $this
Required . Indicates whether the additional data should override or supplement the developer entity type definition .